ResizeGadget()
语法
ResizeGadget(#Gadget, x, y, Width, Height)概要
Resize the specified gadget to the given position and dimensions.
参数
#Gadget The gadget to resize. x, y, Width, Height The new position and dimensions of the gadget. To ease the building of real-time resizable Graphical User Interfaces (GUIs), #PB_Ignore can be passed as any parameter (x, y, Width or Height) and this parameter will not be changed.
返回值
无.
示例
[...] ResizeGadget(0, #PB_Ignore, #PB_Ignore, 300, #PB_Ignore) ; Only change the gadget width. ResizeGadget(0, 150, 100, #PB_Ignore, #PB_Ignore) ; Only move the gadget to a new position.
参阅
GadgetX(), GadgetY(), GadgetWidth(), GadgetHeight()
已支持操作系统
所有