Posted: Sun May 19, 2002 5:54 pm
Restored from previous forum. Originally posted by merendo.
Hi all
I have a window with the #PB_SizeGadget and now I want the gadgets in the window to resize when the user sizes the window. Here is a code snippet, but it doesn´t work.
Thanks for any help, merendo
We always need to hear both sides of the story (by Phil Collins)
Hi all
I have a window with the #PB_SizeGadget and now I want the gadgets in the window to resize when the user sizes the window. Here is a code snippet, but it doesn´t work.
Code: Select all
if waitwindowevent = #PB_EventSizeWindow
resizegadget(0,8,8,windowwidth()-24,windowheight()-33) ; 0 is a panelgadget
endifWe always need to hear both sides of the story (by Phil Collins)