Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Arrays -- how to make 'em
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096935
Message ID:
00097205
Views:
24
>How does one go about constructing control arrays in the Form Builder? I've
>only been able to "roll my own" by building up the arrays at runtime.

In VFP, there usually isn't any need to do this. If you want to affect all TextBoxes on a form, you can do ThisForm.SetAll('ReadOnly', .T., 'textbox') (or 'txtMySubClass', if you've been subclassing everything. If you want to affect only a few (say, an address box you want to pop in and out), you can put the controls in a Container control and do ThisForm.cntAddress.SetAll('Visible', .T.).

That give you some ideas, or am I missing your point?
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform