Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabling controls when running form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01006577
Message ID:
01006581
Views:
19
This message has been marked as the solution to the initial question of the thread.
>I have a form in my application with just on 200 fields. I also have an edit button so when the user clicks on edit I want certain fields to enable. Is there any easy way of doing this or do I have to put the following code on the click event of my form:
>
>thisform.text1.enabled=.t.
>thisform.text2.enabled=.t.
>so on
>
>Thanks


thisform.SetAll("Enabled", .t., "TextBox")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform