Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OMainForm does not get focus on startup
Message
From
28/07/2004 09:15:37
 
 
To
26/07/2004 17:31:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00927841
Message ID:
00928665
Views:
24
>
>In a word - Nope it does nothing of the kind :-(
>
>The main forms unload event holds a CLEAR EVENTS, but I can no longer close the app down :-(
>
>I was wrong about the "if VFP is active, the main form gets the focus". It does not. But after some applications, for instance a certain game has been run, all of a sudden everything works as it's supposed to.
>
>Might it be hardware related?
>
Hey Peter;

Try at you activate:
if  type("thisform.lis_the_first_time")="U"
    thisform.addproperty("lis_the_first_time", .F.)
    read events
else
    * you can set the focus here for some specific control
endif
HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform