Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read only for all fields
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01416802
Message ID:
01416804
Views:
73
This message has been marked as a message which has helped to the initial question of the thread.
>Can I turn all textboxes and checkboxes of my form readonly without have to specify one by one ?
>
>I need to creat a button to change they to edit and not edit mode
>
>Moises
thisform.SetAll('readonly',.t., 'textbox')
thisform.SetAll('readonly',.t., 'checkbox')
this would work only if you use VFP base default class (textbox and checkbox) - and you should not do this!

If you use your custom class for textboxes and checkboxes, specify the name of the class as third parameter.
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