Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't set Default button at run time
Message
From
27/04/1999 23:04:46
 
 
To
27/04/1999 16:44:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00212505
Message ID:
00212854
Views:
30
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform