UImessageBox
Synopsis
send a message in a window to a user
UIdialog UImessageBox {
enum type {
choices = {"error", "information", "message",
"question", "warning", "working" };
};
string+IPort2 message;
method_inst inst<NEvisible=0,lang="cxx",
interruptable=0> = "UImessageBoxInstance";
method_val update<NEvisible=0,lang="cxx",
interruptable=0> = "UImessageBoxUpdate";
#ifdef MSDOS
method_del delete<NEvisible=0,
lang="cxx",interruptable=0> = "UImessageBoxDestroy";
#endif
};Description
UImessageBox is a dialog that posts a message to the user in a separate window. The value of OK (from UIdialog) can determine if a user accepts the situation described by the posted message.
Subobjects
* parent;grouptoParent;&cursor;events <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>;canHaveChildren <Not visible in Network Editor> =0(cannot have children)
&visible=0;&active;pixmap;color;fontAttribute;fontlist <No longer used. Not visible in Network Editor>;cxxhandle <Internal Object. Not visible in Network Editor>;handle <Internal Object. Not visible in Network Editor>;window_resources <No longer used. Not visible in Network Editor>;motif_resources <No longer used. Not visible in Network Editor>;layout <No longer used. Not visible in Network Editor>Attributes inherited from UIcore class through UIwindow.title;isModal;autoUnmanage;destroyOnUnmanage;ok;cancel;okButton;okLabelString;cancelButton;cancelLabelString;display
(enum) Type determines the bitmap that appears beside the following message: UIdialogMessage -- the default; no bitmap UIdialogError -- a stop sign UIdialogInformation -- an exclamation point UIdialogQuestion -- a question mark UIdialogWarning -- an exclamation point UIdialogWorking -- an hour glass
(String. Port.) Set the text of the message in the UImessageBox.The subobject is read only. It is inheirted from UIdecorContainer. (See above).
Example
Examples.Applications.UIApp examples/ui_samp.v v/ne.v
File
See Also Related Modules