GetActiveGadget()

Syntax

Result = GetActiveGadget()
Description
Returns the gadget number of the Gadget that currently has the keyboard focus.

Parameters

None.

Return value

Returns the #Gadget number of the Gadget with the focus. If no Gadget has the focus, -1 is returned.

Supported OS

All

<- GadgetY() - Gadget Index - GetGadgetAttribute() ->