TChooseColorDlg - how to centralize?
Publicado: Jue Dic 23, 2021 6:58 pm
Hi,
How to center the ChooseColor window on the monitor (or Code Editor), vertical and horizontal?
In an application, the position works, but inside the plugin it doesn't.
How to center the ChooseColor window on the monitor (or Code Editor), vertical and horizontal?
In an application, the position works, but inside the plugin it doesn't.
Código: Seleccionar todo
with object TChooseColorDlg():new(::GetProjectMan():oForm)
//:lCenter:=.t. // It's at the top left and the Xailer is maximized.
:Create()
IF :Run()
Código: Seleccionar todo
with object TChooseColorDlg():new(::GetProjectMan():oForm)
:lCenter:=.t. // A part off the monitor (Xailer is maximized)
:Create()
IF :Run()