Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Tore Bleken
  Where is Tore Bleken?
 Stokke
 Norway
 Tore Bleken
 To: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 Tags
Subject: RE: VFP Window To Front of Any Application
Thread ID: 394021 Message ID: 394043 # Views: 43 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Sunday, December 29, 2013 11:56:51 PM         
   


> >
> > Hi,
> >
> > Indeed a 8 monitor configuration is not a default configuration. To my question why do load more than once a top-level form in your application, I am sorry I am still not clear. For me this is not correct architecture. As for your question, I would not advise a user of a nMonitor system to move a form not being the ToplevelForm to an other window, simply move the ToplevelForm and your form in this ToplevelForm will move along. And in case you have such a system I would start my application twice: once in full screen on monitor x and once in minimized on my best-visible screen. No moving etc just click to maximize :).
> > Your API call to enable a VFP.exe to be run on top of a running QuickBooks exe is a solid solution.
> >
> > Regards,
> >
> > Koen
>
>
> Hi Koen,
>
> QUESTION: To my question why do load more than once a top-level form in your application, I am sorry I am still not clear.
>
> ANSWER: Main application running on main monitor only. From main application you can launch as many top-level-forms
> with maps in them as you like. Because each newly launched form is a top-level-form, each one can be dragged and
> dropped on a separate monitor.
> You do not want multiple instances of the entire core application running 8 times, you only want the core application
> running once on the main monitor, You do want multiple instances of a form with maps running in them on the other
> 7 monitors. :-U
>
> Below is a non-API way to force to top:
> Put the code below in a forms Activate event.
>
lcFormName = Thisform.Name 
> ACTIVATE WINDOW &lcFormName

>
> Pete "the IceMan", from the Great White North of Canada.
> www.marathongriffincomputers.com

Pete,
why do you use macros (&)? Name expressions are faster, safer and the preferred way since they were introduced many versions ago.
ACTIVATE WINDOW (lcFormName)


There's a fine line between helping and adding to the confusion.

How to create sample data

ENTIRE THREAD

VFP Window To Front of Any Application Posted by Pete Sass @ 12/28/2013 5:56:59 PM
RE: VFP Window To Front of Any Application Posted by Koen Piller @ 12/28/2013 6:59:57 PM
RE: VFP Window To Front of Any Application Posted by Pete Sass @ 12/28/2013 9:50:17 PM
RE: VFP Window To Front of Any Application Posted by Koen Piller @ 12/29/2013 12:48:31 PM
RE: VFP Window To Front of Any Application Posted by Pete Sass @ 12/29/2013 3:04:11 PM
RE: VFP Window To Front of Any Application Posted by Tore Bleken @ 12/29/2013 11:56:51 PM
RE: VFP Window To Front of Any Application Posted by Jun Tangunan @ 12/30/2013 12:47:49 AM
RE: VFP Window To Front of Any Application Posted by Pete Sass @ 12/30/2013 1:02:00 AM
RE: VFP Window To Front of Any Application Posted by Koen Piller @ 12/30/2013 8:00:20 AM
RE: VFP Window To Front of Any Application Posted by Tore Bleken @ 12/30/2013 9:11:19 AM