:: com :: sun :: star :: awt ::

unpublished constants group MessageBoxResults
Usage Restrictions
not published
Description
These constants are used to specify a result of executing a XMessageBox.

Constants
CANCEL The user canceled the XMessageBox, by pressing "Cancel" or "Abort" button.  
OK The user pressed the "Ok" button.  
YES The user pressed the "Yes" button.  
NO The user pressed the "No" button.  
RETRY The user pressed the "Retry" button.  
IGNORE The user pressed the "Ignore" button.  
Constants' Details
CANCEL
const short CANCEL = 0;
Description
The user canceled the XMessageBox, by pressing "Cancel" or "Abort" button.
OK
const short OK = 1;
Description
The user pressed the "Ok" button.
YES
const short YES = 2;
Description
The user pressed the "Yes" button.
NO
const short NO = 3;
Description
The user pressed the "No" button.
RETRY
const short RETRY = 4;
Description
The user pressed the "Retry" button.
IGNORE
const short IGNORE = 5;
Description
The user pressed the "Ignore" button.
Top of Page