[Lazarus] Detecting desktop area size

Paul Ishenin webpirat at mail.ru
Fri Apr 1 13:59:28 CEST 2011


01.04.2011 19:32, Hans-Peter Diettrich wrote:
> Paul Ishenin schrieb:
>
>>> 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.
>
> A form/window actually can span multiple monitors.
Yes, and TForm.Monitor returns one where the biggest part of the form is 
located.

Best regards,
Paul Ishenin




More information about the Lazarus mailing list