Showing and Hiding Dialog Boxes
The class
IlvDialog provides methods for managing dialog boxes.
Use the IlvDialog method wait to wait until the user clicks Ok or Cancel (which calls the Apply or Cancel callbacks). This method displays a modal dialog box. The method wasCanceled tells you whether the user has clicked Cancel.
dialog.wait();
if (!dialog.wasCanceled()) {
...
}
You can also use the methods show and hide. Standard dialog boxes have their own special methods that display them and wait until the value is returned.
Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.