Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Program-Output to a second Monitor

962 views
Skip to first unread message

Michael Zimmermann

unread,
Aug 26, 2003, 6:34:40 PM8/26/03
to
Hallo,
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.
I thank you very much, if you can help me.
Sincerely, Micha


Mike Williams (TeamB)

unread,
Aug 26, 2003, 6:39:36 PM8/26/03
to
On 26 Aug 2003, "Michael Zimmermann" <micha.zi...@t-online.de>
wrote:

> 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

Michael Zimmermann

unread,
Aug 27, 2003, 4:22:09 AM8/27/03
to
Thanks for answer, 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...

Malcolm Cheyne

unread,
Aug 27, 2003, 5:15:29 AM8/27/03
to

"Michael Zimmermann" <micha.zi...@t-online.de> wrote in message
news:3f4be07c$1...@newsgroups.borland.com...

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


Mike Williams (TeamB)

unread,
Aug 27, 2003, 1:38:26 PM8/27/03
to
On 27 Aug 2003, "Michael Zimmermann" <micha.zi...@t-online.de>
wrote:

> 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)

Marc Pelletier

unread,
Aug 28, 2003, 10:59:04 AM8/28/03
to
"Mike Williams (TeamB)" <mi...@remove.aps-soft.com> wrote in
news:Xns93E48AC379...@207.105.83.65:

> 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

Mike Williams (TeamB)

unread,
Aug 28, 2003, 5:09:24 PM8/28/03
to
On 28 Aug 2003, Marc Pelletier <ma...@goldak.stopspam.ca> wrote:

>> 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)


Marc Pelletier

unread,
Aug 29, 2003, 10:54:25 AM8/29/03
to
"Mike Williams (TeamB)" <mi...@remove.aps-soft.com> wrote in
news:Xns93E5AE884B...@207.105.83.65:

> 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

0 new messages