Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to generically set readonly to .T.?
Message
From
24/08/1999 14:42:40
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00257234
Message ID:
00257243
Views:
17
I would use SetAll().
FUNCTION SetAllReadOnly
   SetAll("ReadOnly", ".T.", "TextBox")
   SetAll("ReadOnly", ".T.", "EditBox")
   SetAll("ReadOnly", ".T.", "ComboBox")
   ...
HTH

>I have a form class that is used by several forms. There are multiple databounded fields in each form. I would like to set the fields as readonly or not with one single generic method.
>What would be the best approach?
Previous
Reply
Map
View

Click here to load this message in the networking platform