SetActiveGadget3D()

语法

SetActiveGadget3D(#Gadget3D)
概要
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.

参数

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

返回值

无.

参阅

GetActiveGadget3D()

已支持操作系统

所有

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