Am 31.03.2011 16:15, schrieb Bart:
On 3/31/11, Paul Ishenin<[email protected]>  wrote:
TScreen.Monitors[i].WorkareaRect

This seems to work for Win and Linux/GTK2.

This raises yet another question though.
How do I know on which monitor my form is?
(I only have one monitor, so I cannot test this)

What about this:

Screen.MonitorFromWindow(YourForm.Handle);

It returns a TMonitor.

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to