Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms
Message
From
27/01/2000 15:01:52
 
 
To
27/01/2000 14:57:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Forms
Miscellaneous
Thread ID:
00323717
Message ID:
00323768
Views:
23
>Yes I agree with you that I can redemension array, add record, and etc. However, I am not adding controls into the form. I am trying to find out all the existing objects in a form. I do not know what the best way to find all the controls.
>
>EG:
>myform.objects(1)
>myform.objects(2)
>.
>myform.objects(n)
>
>
>Where can I find the value "n" in the form? "n" should be a representation of the total objects store in the form (myform).
>
>I know if using the _VFP it has a property of "count" but not in a form object.
>
>Eg. nTotalFormInVFP = _vfp.forms.count

Do you mean the Controls collection and the ControlCount property on a form? Be aware that if any of the controls on the form is a container, the controls objects will not be reflected in the Form.ControlCount property.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform