Class Fox::FXMessageBox
In: rdoc-sources/FXMessageBox.rb
Parent: FXDialogBox

Message box

Message box buttons

MBOX_OK:Message box has a only an Ok button
MBOX_OK_CANCEL:Message box has Ok and Cancel buttons
MBOX_YES_NO:Message box has Yes and No buttons
MBOX_YES_NO_CANCEL:Message box has Yes, No, and Cancel buttons
MBOX_QUIT_CANCEL:Message box has Quit and Cancel buttons
MBOX_QUIT_SAVE_CANCEL:Message box has Quit, Save, and Cancel buttons

Return values

MBOX_CLICKED_YES:The Yes button was clicked
MBOX_CLICKED_NO:The No button was clicked
MBOX_CLICKED_OK:The Ok button was clicked
MBOX_CLICKED_CANCEL:The Cancel button was clicked
MBOX_CLICKED_QUIT:The Quit button was clicked
MBOX_CLICKED_SAVE:The Save button was clicked

Methods

error   error   information   information   new   new   question   question   warning   warning  

Public Class methods

Show a modal error message; returns one of the return values listed above.

Show a modal error message in a free-floating window; returns one of the return values listed above.

Show a modal information dialog in a free-floating window; returns one of the return values listed above.

Show a modal information dialog; returns one of the return values listed above.

Construct free-floating message box with given caption, icon, and message text.

Construct message box with given caption, icon, and message text.

Show a modal question dialog; returns one of the return values listed above.

Show a modal question dialog in a free-floating window; returns one of the return values listed above.

Show a modal warning message; returns one of the return values listed above.

Show a modal warning message in a free-floating window; returns one of the return values listed above.

[Validate]