Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit and no edit of fields
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00110932
Message ID:
00110947
Views:
34
you could also (in vfp5) thisform.setall('enabled,.f.,'textbox')

>Of course that code should read:
>
>for i = 1 to thisform.controlcount
>IF thisform.controls(i).baseclass="textbox"
>**Or whatever objects you use
>** For data entry, test if their subclass is the current object in the for endfor
>
>thisform.controls(i).enabled=.F. && or .T. to enabled them
>endif
>
>endfor
>
>I must be sleepy with this awful typing - well time for lunch!
>
>Jerry
Previous
Reply
Map
View

Click here to load this message in the networking platform