GadgetY()
语法
Result = GadgetY(#Gadget [, Mode])概要
Returns the Y 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 Y position (in pixels) within its container, or window (default) #PB_Gadget_WindowCoordinate : the absolute gadget Y position (in pixels) within the window. #PB_Gadget_ScreenCoordinate : the absolute gadget Y 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 Y position relative to the gadgets parent or window in pixels.
参阅
GadgetX(), GadgetWidth(), GadgetHeight(), ResizeGadget()
已支持操作系统
所有