Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form is behind the form from which it is called
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00672805
Message ID:
00672808
Views:
22
>I call a form called collect from the lost focus of a text box on my startup form.
>
>It appears BEHIND the startup form. It has only just started to do this.
>
>What is the problem.
>
>Colin

Make sure the startup form is alwaysontop = .F.

Then in collect.show()
LPARAMETERS nStyle
DECLARE INTEGER SetForegroundWindow IN WIN32API LONG luHwnd
SetForegroundWindow(This.HWND)
Then you can call collect.show() from anywhere and it will bring it to the front.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform