ResizeGadget()
Syntax
ResizeGadget(#Gadget, x, y, Width, Height)
Description
Resize the specified #Gadget at the given position and dimension. To ease the build of realtime resizeable Graphical User Interface (GUI), '-1' can be passed to any parameter (x, y, Width or Height) and this parameter will be not changed. This is very handy because often the gadget should only change in width or in height.[...] ResizeGadget(0, -1, -1, 300, -1) ; Only change the gadget width.
Supported OS
Windows, AmigaOS, Linux