Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Desktop (application) and dual monitors
Message
From
24/01/2004 15:05:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/01/2004 14:12:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00870191
Message ID:
00870310
Views:
7
>The only way I was able to get a semblance of working dual monitor with an app. that has the VFP desktop active and modeless forms working IN it was to first de-maximize the VFP desktop, then stretch it's width and height (width across the 2 screens, height just top to bottom).
>HOWEVER, it really doesn't work IN MY SETUP using a Matrox G400 MAX):
>1) Apparently because 1 monitor (primary) is 1280x1024 and the other is 1024x768, the height in the lower resolution seems to keep the higher resolution's value, forcing some part of it below the second screen's edge.
>2) Stretching the screen across the second monitor results in the standard gray background of the VFP desktop being in about 1/8th of the second screen, the balance being white.
>3) In addition, the area that is white has a blue bar across the bottom, about 1/10th the way up, seeming to be the old style status bar.
>NOTE: #2 and #3 disappear as soon as a form opened is closed again.
>
>I then tried with both screens at 1280 by 1024. By adjusting the height first (after de-maximizing) then the width, then open/close a form, I was able to avoid most of the pitfalls above, now only losing the secondary monitor's start-bar area.
>HOWEVER, a few things still don't work properly:
>1) As you note, centred dialogs have the split personality.
>2) Maximizing a form results in the form being maximized ACROSS BOTH SCREENS.
>
>In both attempts, possibly as a result of the programming in the app., startup was maximized to the primary screen. Interestingly too, a form that I had started, moved to secondary, stopped, shut app down, restarted app then started the same form ended up having the second form invisibly shown in the secondary monitor (which I found out by re-dragging to widen the window).
>
>I then tried Mike Asherman's MONTAGE utility. I closed the VFP app., dragged it into the MONTAGE 'control window' (my term), started the app., dragged the right and bottom as I wanted, then closed the app.
>Lo and behold, it re-opened as I had set it last, across both monitors.
>
>All in all it looks like dual monitor support is hazardous at best with VFP.

Seems to be this is a lot of trouble. My user has two identical monitors, and I figure he arranges the _screen and forms manually - and they come up in the same positions next time (I'm using good old ini files for that). I was just lucky.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform