| | |
More than 1 Monitor
Thread Solved |
•
•
Join Date: Oct 2009
Posts: 10
Reputation:
Solved Threads: 3
Thanks but I already looked at monitors but monitornum is read only
•
•
•
•
"Screen.Monitors" has a list of installed monitors, and Forms have the "monitor" property where you could try to fix where you want it to appear in the FormCreate event... have you tried this (i don't have 2 monitor here to give it a try)?
(All this info just typing "monitor" on the delphi help)
•
•
Join Date: Nov 2009
Posts: 41
Reputation:
Solved Threads: 5
0
#4 Nov 16th, 2009
Each TMonitor has its own left and top intial position: if your second monitor is on the left side and main monitor is 1600 width, its left property can be like 1601 (and top = 0 in that case), so on Form.FormCreate you can read this and make (for instance), so placing your form depending on monitor top, left, height and width should make it appear on center of the secondary monitor (again, not tested!).
Pascal and Delphi Syntax (Toggle Plain Text)
Self.Left:= Screen.Monitors[1].Left;
![]() |
Similar Threads
- Monitor Resolution (Monitors, Displays and Video Cards)
- Installed additional memory, now monitor shows black screen (Windows NT / 2000 / XP)
- Is there a way to fake a dual (second) monitor (Windows Software)
- Monitor Light Blinking Samsung (Monitors, Displays and Video Cards)
- Monitor problems (Monitors, Displays and Video Cards)
- KDS Monitor Problems Please Help... (Windows NT / 2000 / XP)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: to Mr. fayyaz
- Next Thread: Help For Writing Component
Views: 1140 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Pascal and Delphi
animation api app array button compile console data database dbisam delete delphi delphihelpimageforloop documentcomplete2 edit environment error errors events file form function gdi gis lasrautoinc media navigatecomplete2 network object open opengl pascal passing path player procedure search set sql table twebbrowser username variable win7 windows





