Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Text & List Boxes
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Disabling Text & List Boxes
Miscellaneous
Thread ID:
00790515
Message ID:
00790515
Views:
45
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
Neil Lewis
IT R&D Manager
Velmore Ltd
Next
Reply
Map
View

Click here to load this message in the networking platform