Is there a way to allow a window to resize only vertically or only horizontally.
I'm doing it a rather ugly way (see code below) which works but the effect is a bit wierd...
Code: Select all
OpenWindow(0, 150, 130, 530, 350, "", #PB_Window_SizeGadget)
Repeat
_eventId=WaitWindowEvent()
ResizeWindow(0,#PB_Ignore,#PB_Ignore, 530,#PB_Ignore)
Until _eventId=#PB_Event_CloseWindow