GadgetHeight()

Syntax

Result = GadgetHeight(#Gadget [, Mode])
Description
Returns the height of the specified gadget.

Parameters

#Gadget The gadget to use.
Mode (optional) Can be one of the following value:
  #PB_Gadget_ActualSize  : returns the current height of the gadget, in pixels (default).
  #PB_Gadget_RequiredSize: returns the height needed to fully display the gadget, in pixels.

Return value

Returns the height of the gadget in pixels.

See Also

GadgetWidth(), GadgetX(), GadgetY(), ResizeGadget()

Supported OS

All

<- FreeGadget() - Gadget Index - GadgetID() ->