Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to disable tab key
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00124536
Message ID:
00124931
Views:
27
>>Well, not exactly SIMPLE, Timothy,
>>
>>1. If you have only 3 choices for Base PN#, then you should be using radio buttons.
>>
>>2. I'd write a form method disabling and enabling the cmdbuttons. The disable version would be called when either textbox1 or textbox2 is live. Re-enabling is called from the VALID or LOSTFOCUS methods, but ONLY if there were good values in both textboxes.
>>
>>Barbara
>not sure what you mean by a form method. commandgroup seems easier to click than a radio button and I noticed disabling a commandgroup does not make it dim

A form method can be added to any form - it's just a method like 'Click' or 'SetFocus'. You name it, add you own code and call it like any of the 'built-in' methods. Go to Form/Method on the menu and follow the screen directions. It will show up below the standard events/methods.

I prefer the 'dimming' effect to show users something is disabled, but that's JMHO. Also, the 'Windows Standard' is for radio buttons when you have to choose 1 from a group. Again, though, it's the users' call.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform