Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default value of a command button.
Message
From
23/01/2004 17:46:07
 
 
To
22/01/2004 09:49:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00869474
Message ID:
00870174
Views:
17
Hi Michael,

Your post is rather confusing. Could you pseudo-code the sequences of events and what happens, when it happens and what you want to have happen instead?

pamela

>Hi all,
>
>I was working on a bug for an app the other day involving the default value of a command button within a command group being automatically set to true upon gaining focus within a textbox. Now, this only occurred after clicking that button, it never occurs up until that point. The command group contains buttons that when clicked, opens other forms. This button does not however open an SCX form, but a form in a class. Code looks like this
>
>
SET CLASSLIB TO myclass ADDITIVE
>ThisFormset.AddObject("frmForm, "cnForm")
>ThisFormset.frmForm.Show()
>RELEASE CLASSLIB myclass
>
>My current workaround was to put code in the KeyPress event of the textbox to set the default of that button to .F. is the user hit enter.
>
>Any ideas?
>
>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform