Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't set Default button at run time
Message
De
27/04/1999 23:04:46
 
 
À
27/04/1999 16:44:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00212505
Message ID:
00212854
Vues:
29
Hi Sylvia.

I think you misunderstood. I meant have THIS.Default=.T. in the Refresh() of the affected commandbutton.

>I think confirm was off, but added it anyway...same result. The problem I have with setting default = .t. in the control itself is that I believe only one control on a form can have default set to .t. So by including that code in the refresh itself, you're going to have all the controls set as default, and then the form doesn't know which one is the default. Since I'm using page frames, I only want the Active Page control (e.g. save) on that page to be set to .t.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform