GadgetX()
语法
Result = GadgetX(#Gadget [, Mode])概要
Returns the X position of the specified gadget.
参数
#Gadget The gadget to use. Mode (optional) Mode can be one of the following value: #PB_Gadget_ContainerCoordinate: the gadget X position (in pixels) within its container, or window (default) #PB_Gadget_WindowCoordinate : the absolute gadget X position (in pixels) within the window. #PB_Gadget_ScreenCoordinate : the absolute gadget X position (in pixels) in the screen. It can be useful to display something over the gadget like a floating window or a popup menu.
返回值
Returns the X position relative to the gadgets parent or window (in pixels).
参阅
GadgetY(), GadgetWidth(), GadgetHeight(), ResizeGadget()
已支持操作系统
所有