Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

keeping active windows forward HELP!

keeping active windows forward HELP!

keeping active windows forward HELP!

Howdy guys,

Does anyone know how to keep an active window in FPW2.6 active. Sometimes, a person accidently clicks outside the current window area, sending *that* window behind the main menu window. There's got to be a way to keep the active window in the foreground until a close routine used! I can't believe that you can only pop up one window at a time. Also, I would not belive that you would have to make a windows EXACTLY the same size....Does VFP do the same?
I would like to keep the windows NOGROW, NOMINIMIZE, NOFLOAT

Also, how do get rid of the "Foxpro" main screen window, and just allow ONLY my windows to appear?


Mark Geer

RE: keeping active windows forward HELP!

FPW applications are normally all single modal screens (with the occasional modal dialog/auxilary screen), and so these problems don't come up. While it is possible to code a FPW "event driven" application with multiple modeless screens, it's tends to be very complex. Remember that FPW was, for the most part, just the GUI update to FoxPro DOS, where the expectation was pretty much "do one thing at a time and don't confuse me".

VFP applications are normally event driven and modeless. In fact to get FPD/FPW app conversions to work "like they used to", it's often necessary to add code to prevent the "normal" scheme.

You have much more control over all aspects of the forms (with less work) in VFP, including getting rid of the "main screen".


RE: keeping active windows forward HELP!

When you GENERATE the screen which you wish to be temporarily on top, click on the MORE>> button.  Then put a check into the Modal Screens option prior to clicking on the Generate button.

This will make the screen, once it is activated, stay Active and not allow access to other screens until closed.

This may be done within the Project Screen Set options or as a single screen Generate.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close