ScreenGadgetX()

Syntax

Result = ScreenGadgetX(#ScreenGadget)
Description
Returns the X position of the specified gadget.

Parameters

#ScreenGadget The gadget to use.

Return value

The X position, in pixels, of the specified gadget starting from the inside of the left edge of the gadget list that the gadget is in.

See Also

ScreenGadgetY()

Supported OS

All

<- ScreenGadgetWidth() - ScreenGadget Index - ScreenGadgetY() ->