[Lazarus] Detecting desktop area size

Paul Ishenin webpirat at mail.ru
Fri Apr 1 00:10:40 CEST 2011


31.03.2011 22:15, Bart wrote:
> On 3/31/11, Paul Ishenin<ip at kmiac.ru>  wrote:
>> TScreen.Monitors[i].WorkareaRect
> This seems to work for Win and Linux/GTK2.
This was tested on OSX during the development too.
> 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)
Looks like search does not work on your PC anymore.

Look at TForm.Monitor property.

Best regards,
Paul Ishenin




More information about the Lazarus mailing list