Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find textbox on form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00740225
Message ID:
00740231
Views:
15
This message has been marked as the solution to the initial question of the thread.
>Good day to everyone,
>
>Is there anyway to find the number of controls on a form that are textbox's?
>
>Thanks, Chuck

The only way I can think of
FOR EACH loControl IN thisForm.Controls
     IF loControl.BaseClass = "Textbox"
          n = n +1
     ENDIF
ENDFOR
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform