Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form exists and bring to top
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00885424
Message ID:
00886011
Views:
13
Hi John,

Which line of code doesn't work as you expect it to? You may also consider using _SCREEN forms collection as shown in Re: How to use _SCREEN Message #734199

>I have been using the following code for years, but VFP8 ignores it and will not bring the requested form to the top
>Any ideas ?
>IF WEXIST(MForm)                      && Just in case
>  SHOW WINDOW (MForm) TOP               && Make it the Active Form
>  _SCREEN.ActiveForm.WindowState = 0   && Make it NOT minimised (Normal)
>  _SCREEN.ActiveForm.Refresh
>ELSE
>  DO FORM (MForm) NAME (MForm)
>ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform