Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Text & List Boxes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00790515
Message ID:
00790520
Views:
15
Why not directly in OPtionGroup.Click ?

>I have form with 2 text boxes and 2 list boxes. On the same form I have an option group. When I select the second option I want the 2 text boxes and 2 list boxes to grey out (Disable)
>
>I have tried
>
>IF thisform.option1.value=1 then
> thisform.text1.enable=.F.
> thisform.text2.enable=.F.
> thisform.List1.enable=.F.
> thisform.List2.enable=.F.
>else
>endif
>
>Where would I put this syntax i.e. The form init event maybe
>
>Thankyou
Previous
Reply
Map
View

Click here to load this message in the networking platform