Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects SHOW prematurely??
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00160393
Message ID:
00161395
Views:
21
Are you calling SetFocus() anywhere in the init of the form or the init of objects? I find that this makes forms appear before Show() is called. It is as if items need the form to be visible before they can really receive focus.

>Why is it that, in the following code, the form is displayed prior to the line with SHOW?
>
>oOptionClass = CREATEOBJECT("OptionBaseClass")
>oOptionClass.SHOW
>
>I add a WAIT WINDOW 'stop here' between the two lines and the form displays before the wait window...
>
>There's nothing in the class definition that displays the form, what else could cause this?
>
>TIA
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform