Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show Window Command
Message
From
04/06/2004 16:39:34
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Show Window Command
Miscellaneous
Thread ID:
00910143
Message ID:
00910143
Views:
62
I am using VFP8.

I am trying to get the SHOW WINDOW command to work with a form. In my app, if a form is opened, in a particular situation, I want to bring that form to the front. I am trying the following but nothing is happening.
"SHOW WINDOW MyFormName TOP"

For example, Form1 and Form2 are running, a user hits a button on Form2 and Form1 should come to the front. But my "SHOW WINDOW MyFormName TOP" command does not bring the desired form to the front. Nothing happens, no error.

But if I place an invalid form name in the command I do get an "Window 'x' has not been defined". "SHOW WINDOW FormThatDoesntExist TOP"

What else can I try to get this to work?

Thanks,

Jerry
Next
Reply
Map
View

Click here to load this message in the networking platform