#PB_Ignore, #PB_Center also

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Olli
Addict
Addict
Posts: 1202
Joined: Wed May 27, 2020 12:26 pm

#PB_Ignore, #PB_Center also

Post 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()
BarryG
Addict
Addict
Posts: 4136
Joined: Thu Apr 18, 2019 8:17 am

Re: #PB_Ignore, #PB_Center also

Post by BarryG »

+1. Good idea!
Olli
Addict
Addict
Posts: 1202
Joined: Wed May 27, 2020 12:26 pm

Re: #PB_Ignore, #PB_Center also

Post by Olli »

x and y managed separately also.

And
#PB_ParentLeft,
#PB_ParentTop,
#PB_ParentRight,
#PB_ParentBottom also.
User avatar
Caronte3D
Addict
Addict
Posts: 1355
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: #PB_Ignore, #PB_Center also

Post by Caronte3D »

+1
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: #PB_Ignore, #PB_Center also

Post by Quin »

+1
Post Reply