General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only