Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the Default property of a command button...
Message
 
To
29/06/1997 03:31:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00037354
Message ID:
00038075
Views:
43
>Wait a minute - .default option holds for commandgroups, and I think the
>problem you have came because you used individual buttons; .default
>should designate the defoult button within a commandgroup. If I get the
>time I may do some checking on this, the whole behavior seems to have
>wrong smell to me. Besides, I'm still looking for a way to have _no_
>default button at all (so the form doesn't close or do whatever
>unexpected whenever anyone presses Enter).


Dragan, The DEFAULT option works on ANY command button, not just command buttons in groups. If you set all of your buttons' default values to .F., then Enter will act like the Tab key (most of the time, not on combos)

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

Click here to load this message in the networking platform