GadgetWidth()
语法
Result = GadgetWidth(#Gadget [, Mode])概要
Returns the width of the specified gadget.
参数
#Gadget The gadget to use. Mode (optional) Can be one of the following value: - #PB_Gadget_ActualSize : returns the current width of the gadget, in pixels (default). - #PB_Gadget_RequiredSize: returns the width needed to fully display the gadget, in pixels.
返回值
Returns the width of the gadget in pixels.
参阅
GadgetHeight(), GadgetX(), GadgetY(), ResizeGadget()
已支持操作系统
所有