Page 1 of 1

#PB_Ignore, #PB_Center also

Posted: Fri Oct 06, 2023 11:14 am
by Olli
This, below, could center the window at screen :

Code: Select all

ResizeWindow(window, #PB_Center, #PB_Center, #PB_Ignore, #PB_Ignore)
Idem on ResizeGadget()

Re: #PB_Ignore, #PB_Center also

Posted: Fri Oct 06, 2023 11:25 am
by BarryG
+1. Good idea!

Re: #PB_Ignore, #PB_Center also

Posted: Fri Oct 06, 2023 11:42 am
by Olli
x and y managed separately also.

And
#PB_ParentLeft,
#PB_ParentTop,
#PB_ParentRight,
#PB_ParentBottom also.

Re: #PB_Ignore, #PB_Center also

Posted: Fri Oct 06, 2023 4:26 pm
by Caronte3D
+1

Re: #PB_Ignore, #PB_Center also

Posted: Wed Oct 11, 2023 11:31 pm
by Quin
+1