DialogGadget()

Syntax

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

Parameters

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

Return value

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

See Also

CreateDialog(), OpenXMLDialog()

Supported OS

All

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