SetActiveGadget3D()

Syntax

SetActiveGadget3D(#Gadget3D)
Description
Activates (sets the focus on) the gadget specified by the given #Gadget3D number. This is mainly used with ComboBoxGadget3D() and StringGadget3D(). Activating a gadget allows it to become the current object to receive messages and handle keystrokes.

Parameters

#Gadget3D The gadget to activate. If sets to -1, then the focus is removed (if any).

Return value

None.

See Also

GetActiveGadget3D()

Supported OS

All

<- ScrollBarGadget3D() - Gadget3D Index - SetGadgetAttribute3D() ->