TOC PREV NEXT INDEX

UIpromptBox

Synopsis

prompt a user for text input

UIdialog UIpromptBox {
string+IPort2 prompt;
string+OPort2 text;
int applyButton;
string applyLabelString;
method_inst inst<NEvisible=0,lang="cxx",
interruptable=0>="UIpromptBoxInstance";
method_val update<NEvisible=0,lang="cxx",
interruptable=0>="UIpromptBoxUpdate";
ok =0;
};

Description

UIpromptBox is a dialog that prompts the user for text input. The value of OK (from UIdialog) can determine if a user accepts the current value in the text attribute.This dialog can have only one child.

Subobjects

message

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

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>;motif_resources <No longer used. Not visible in Network Editor>;window_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.

prompt

(String. IPort2) Sets text of query to user. This subobject is read/write.

text

(String.OPort2) Sets the text value that is offered to the user or the value that the user enters instead.This subobject is read/write..

applyButton

(Integer). The applyButton works like an OK button except the dialog remains after the button is pressed. 0=not visible; 1=visible.

applyLabelString

(String). Sets the text on the applyButton.

Example

Examples.Applications.UIAppexamples/ui_samp.v

File

v/UI.v

See Also Related Modules

UIdialog
UIfileDialog
UImessageBox
UIsliderUnbnd

TOC PREV NEXT INDEX