Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top-Level form doesn't get focus??
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00950551
Message ID:
00951571
Views:
10
>>i put this in my login form (activate())
>>
>>
>>DECLARE INTEGER SetForegroundWindow IN USER32 INTEGER
>>DECLARE INTEGER FindWindow IN USER32 STRING @ , STRING @
>>lnHWND=FindWindow(0, _Screen.Caption)
>>IF lnHWND>0
>>	SetForegroundWindow(lnHWND)
>>ENDIF
>>
DO FORM login
* Move the above code here.
* That is what I used yesterday for a similar setup.
READ EVENTS
- Andy Rice
San Diego, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform