Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the Default property of a command button...
Message
 
À
29/06/1997 03:31:05
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00037354
Message ID:
00038075
Vues:
41
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform