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.
Outputs
- selectorDialogResult
- The result of what button was pressed on the dialog. Returns 1 if ok was pressed and 2 if cancel was pressed.
Examples
selectorDialog = bdeCreateSelectorDialog({'Option1', 'Option2', 'Option3'});
selectorDialogResult = bdeGetSelectorDialogResult(selectorDialog);
selectorDialogResult = 1