Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Count in a Form
Message
From
27/04/2001 10:23:15
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00500662
Message ID:
00500678
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
Hi Tommy,

>How do I get a count of the objects in a form then?

There is a property on the form called Controls that is an array. If you want to get the number of objects on a form, you can use ALEN() to return the number of rows in the array.

In addition, if you have containers on the form you would probably want to look at thier Controls property also to get a more accurate count.

HTH,

Brian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform