bdeGetSelectorDialogResult

Returns a number based on what button was pressed in the selectorDialog.

Syntax

selectorDialogResult = bdeGetSelectorDialogResult(names)

Inputs

selectorDialog
The selector dialog to get the resluts of.
Type: hwscpSelectorDialog

Outputs

selectorDialogResult
The result of what button was pressed on the dialog. Returns 1 if ok was pressed and 2 if cancel was pressed.
Type: integer

Examples

Get the result of which button was pressed in a selector:

          selectorDialog = bdeCreateSelectorDialog({'Option1', 'Option2', 'Option3'});
          selectorDialogResult = bdeGetSelectorDialogResult(selectorDialog);
        

          
            selectorDialogResult = 1