> is it possible to say the Delphi-IDE, to show my Progam on a Second
> Monitor? I can realize it manualy - but I want, that Delphi-IDE does
> it. Hardware: 1 Computer - 2 Monitors with Matrox G550 Grafikcard.
This is not a feature of Delphi itself but rather your program. I always
write apps to remember window sizes and positions so the next time they are
run they come up as the user left them. In that case you can run it and
then move it to the second monitor.
Your other option would be to move the Delphi IDE to the secondary monitor
and run your program on the primary.
--
-Mike
what you rote goes and i do so.
But i search another way. Something like: set output to
<Application.Monitor2> or <Screen.Monitor2>.
There is a Class TMonitor but i have no experiens with it. Do you
understand, what i mean?
thanks, michael
"Mike Williams (TeamB)" <mi...@remove.aps-soft.com> schrieb im Newsbeitrag
news:Xns93E3BDD84C...@207.105.83.65...
Michael
This is a function of Windows and it should recognise the second monitor.
FYI keep your forms on monitor 1 and your source on monitor 2. If you
ever go back to a single monitor you will find that it appears that your
forms do not open. The fix is to open them in text mode and change the
negative value in Left to a positive value (i.e. -450 to 450)
HTH
Malcolm
Townsville
> But i search another way. Something like: set output to
> <Application.Monitor2> or <Screen.Monitor2>.
> There is a Class TMonitor but i have no experiens with it. Do you
> understand, what i mean?
I understand what you're looking for but it's just not there. Keep in
mind that multiple monitors really just provide you with more resolution.
In my dual monitor setup both are running at 1280x1024. Any window on
the second monitor simply has a left position greater than 1280. The IDE
doesn't care one bit (or even know) where windows show up when created.
That is once again controlled by the application that displays the
windows. You can certainly handle this programatically but there's no
IDE setting.
--
-Mike (TeamB)
> I understand what you're looking for but it's just not there.
Sure it is. In your form activate do something like this...
if Screen.monitorcount > 1 then
left := left + screen.monitors[1].left;
That's a very crude example, but if there are multiple monitors the form
will now appear on the second one.
cheers
Marc Pelletier
Goldak Exploration
>> I understand what you're looking for but it's just not there.
>
> Sure it is. In your form activate do something like this...
>
> if Screen.monitorcount > 1 then
> left := left + screen.monitors[1].left;
I said from the beginning that you could easily handle this
programmatically. He was looking for an IDE setting that would force
program output to the second monitor only while running in the IDE.
--
-Mike (TeamB)
> He was looking for an IDE setting that would force
> program output to the second monitor only while running in the IDE.
>
Oh, well that would be cool too.
Marc