[Gambas-user] Form Center issue with dual monitor
Benoît Minisini
g4mba5 at gmail.com
Tue Apr 7 22:45:39 CEST 2020
Le 07/04/2020 à 22:28, T Lee Davidson a écrit :
> On 4/7/20 3:24 PM, Yeshua Rodas wrote:
>> Hello folks.
>>
>> I'm having an litte issue displaying a Form centered on the screen.
>> You'll see, I have a 2 monitor setting, one upper, another one on bottom.
>> When I run my program, the Form instead of getting centered for the
>> monitor where it is running (the up monitor in my case) is centered in
>> relation with both monitors.
>
> You might need to center the form manually using the Width and Height
> properties of DesktopWindow.
> http://gambaswiki.org/wiki/comp/gb.desktop
>
>
The code already does that, so I don't understand why it does not work.
--
Benoît Minisini
More information about the User
mailing list