Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dimming the command button
Message
From
15/09/1997 10:43:23
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00050105
Message ID:
00050111
Views:
16
>>>Is there a logical way to have an 'OK' command button dimmed until the user makes a selection from the optiongroup? At what point is the evaluation of the optiongroup made?
>>
>>It should be like this:
>>**** OptionGroup InteractiveChange Event
>>if this.value=1
>> Thisform.Command1.Enabled=.t.
>>else
>> Thisform.Command1.Enabled=.f.
>>endif
>
>OK then, I wann't sure where to place it but these proceedure placements open up another world. I usually work in the 'click' sections.

InteractiveChange is just a little bit better that Click, because here you filter out unnecessary firing of the code (when a user clicks on the button selected already).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform