Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why form is not in focus
Message
From
09/11/2001 11:49:23
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00579708
Message ID:
00579714
Views:
40
Hi Costas,

Put this in the INIT() of the form:

DECLARE INTEGER FindWindow IN Win32API STRING, STRING
DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
hWnd = FindWindow(0,THIS.CAPTION)
=SetForegroundWindow(hWnd)

HTH
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform