UIIndex.gif Previous-2.gif Next-3.gif

UImessageBox


Synopsis

send a message in a window to a user

UIdialog UImessageBox {
enum type = {error, information, message,
question, 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

message

(+IPort2) UIdecorContainer class attribute.

x; y;
width; height;

UIGeom class attributes.

clientWidth; clientHeight

UIdecorGeom class attributes

* parent;
grouptoParent;
&cursor;
events <Not visible in Network Editor>;

UIwindow class attributes

shellParent <Not visible in Network Editor>;
canHaveChildren <Not visible in Network Editor> =0(cannot have children)

UIConnection class attributes inherited from UIwindow.

&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

Attributes inherited from UIdialog.

type

(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

message

(String. Port.) Set the text of the message in the UImessageBox.

The subobject is read only. It is inheirted from UIdecorContianer. (See above).

inst;
update;
delete;

Methods for instantiating, updating, and deleting UImessageBox.

Example

Examples.Applications.UIApp
examples/ui_samp.v
v/ne.v

File

v/UI.v

See Also

Related modules:

•      See UIdialog

•      See UIfileDialog

•      See UIprimitive

•      See UIsliderUnbnd

 



UIIndex.gif Previous-2.gif Next-3.gif