Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying data on second monitor
Message
From
27/02/2023 08:55:42
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
27/02/2023 08:43:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686274
Message ID:
01686279
Views:
33
Slow down, please.

We are one one single comp with two monitors attached, right?
You run your program (full screen) on one of those monitors (supposed: primary) and like to output certain data on the other (supposed: secondary) monitor.
Is this the setup?

If not, please be more specific about the setup.

If yes:
Skip primary / secondary, it's just the other, or ONE OF THE OTHERS (me: 3)
Now you need something to display the data - from my POV some form (class, not SCX) with DESKTOP set .t., so you can move outside _SCREEN.
This form contains whatever you need to display the data you like to expose. A grid, a bunch of label/text, whatever.
Now, if you need to show the data, you instantiate an object from the class.
You determine numbers of monitors, figure out the one of _SCREEN and choose a different monitor for your data form.
Get the coordinates/ sizes, and MOVE your form there.
Make it visible
Whenever your main form changes data, tell the secondary form what to do or that the form needs to do something.

You need some handling if only one monitor is attached.

Lutz

>Second monitor is from customers view and should not contain all data and buttons from primary monitor.
>
>>>I have a local table which is open exclusive. INSERT, DELETE, ZAP is used on that table.
>>>Any ideas how to display those data on second monitor on a fly with all changes applied? I prefer another program which is displaying on a second monitor (extend monitor).
>>>
>>>Thanks.
>>
>>This is, you like to open some window / form on a second (iow different) monitor?
>>I'm not good on window / browse so I would create a form with a grid, set DESKTOP to true an move it on call to the second monitor.
>>
>>Have a look at https://west-wind.com/wconnect/weblog/ShowEntry.blog?id=836 how to deal with this.
>>
>>Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform