SBendBuckeye
Programmer
I have done mostly VBA and Access where I would spin through the collections regularly (eg to spin through all of the controls of a form I would do something like this):
Dim ctl As Control
For Each ctl In Me.Controls
Debug.Print ctl.Name
Next ctl
I am helping in a shop going gradually to Visual from FoxPro2.6 and even FoxPro DOS. The folks there don't seem to be using the collections very much and I would like to help them get started as I think it would be a great benefit to them to do so.
Are there Visual Fox collections similar to Forms, TableDefs, QueryDefs, Properties, Controls, Documents, etc? Would someone be kind enough to post a bit of code showing how to spin through them?
Thanks in advance for any help you can give me!
Dim ctl As Control
For Each ctl In Me.Controls
Debug.Print ctl.Name
Next ctl
I am helping in a shop going gradually to Visual from FoxPro2.6 and even FoxPro DOS. The folks there don't seem to be using the collections very much and I would like to help them get started as I think it would be a great benefit to them to do so.
Are there Visual Fox collections similar to Forms, TableDefs, QueryDefs, Properties, Controls, Documents, etc? Would someone be kind enough to post a bit of code showing how to spin through them?
Thanks in advance for any help you can give me!