Quantcast
Channel: Reports & Macros
Viewing all articles
Browse latest Browse all 1118

Close Dialog with PushButton

$
0
0

Good Day,

I am using ARIS 9.8.

I am creating my Dialog as follows:

Dialogs.showDialog(dlgAddRemove, Constants.DIALOG_TYPE_ACTION, "Add/Remove Objects");

And then adding a PushButton to the DialogTemplate:

iDialogTemplate1.PushButton(12, 135, 100, 20,"Remove","btnRemove");

Currently the only way to close the dialog is by pressing the OK or Cancel buttons.

Is it possible to set the result value and close the dialog from within the btnRemove_pressed function?

Regards,

Freddy

 


Viewing all articles
Browse latest Browse all 1118

Trending Articles