Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Object.Show() method
Message
From
17/03/2000 13:48:22
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00347106
Message ID:
00347192
Views:
29
>>>In VFP 5.0 when I issue a frmObject.Show() method, the form itself is not enabled until the user clicks the form's title bar or one of the form's controls. I am issuing an Object.SetFocus() method immediately after the Show() method, so the user can see the textbox where the focus is set, but when they start typing nothing happens. You can see the title bar's color is dissabled until you click on the form. Once the form is clicked everything works fine.

You might try putting the Object.SetFocus() in the frmObject.GotFocus event code.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform