Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want my login form to have focus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01480111
Message ID:
01480135
Views:
76
>My app fires up - opens a splash screen, it closes - a couple of wait windows appear then go away - then my login form appears. The problem is that the user has to click on the dang login form for it to get focus for some reason...anyone know how I can fix that?
>
>Thanks!

What are the form properties?

.ShowWindow=0 (in screen) or 2 (Top Level) ? (If 2, it will never be modal)
.WindowType=1 (modal)
.Desktop=.t.

?

(Doing this from memory so hope it's correct)

After the form loads, does any other code run before your read events in your main prg?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform