Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmitacally Disable text boxes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00250597
Message ID:
00250598
Views:
9
>I have created a form where some fields are dependent on user input. Based on the users input, I want to programmitacally disable some fields. I can move around them with setfocus() events, but that doesn't stop the user from clicking on the fields.
>
>Any Ideas.
>
>TIA.
>
>Rob
You could set the ENABLED (or Visible) property to .f. as default. Then, when a user enters a value in prerequisite field, change the enabled/visible property to .T. The valid of the prerequisite field should also disable the other fields if no longer meet the condition to allow entry.
Previous
Reply
Map
View

Click here to load this message in the networking platform