DialogGadget()

语法

Result = DialogGadget(#Dialog, Name$)
概要
Returns the gadget number of the specified gadget name.

参数

#Dialog The dialog to use.
Name$ The name of the gadget, as specified in the XML file (using the 'name' attribute).

返回值

Returns the gadget number of the specified gadget name, or -1 if the gadget isn't found in the dialog.

参阅

CreateDialog(), OpenXMLDialog()

已支持操作系统

所有

<- DialogError() - Dialog Index - DialogID() ->