Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using .SetAll()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01302151
Message ID:
01302195
Views:
12
>Rich,
>
>Alternatively to what the opthers have suggested you could add a visible_assing mehtod to your buttons and in there set the value based on the tag properties value, then your setall would just try to setall of the buttons and each button itself would decide if it should do the setting or not.

Exactly. The assign method can even run some code. I learned this idea 8 years ago from Trey Walpole (he hasn't been here for a long time)...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform