UIpromptBox
Synopsis
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
* parent;grouptoParent;&cursor;events <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>;canHaveChildren <Not visible in Network Editor> =0
&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>
title;isModal;autoUnmanage;destroyOnUnmanage;ok;cancel;okButton;okLabelString;cancelButton;cancelLabelString;display
(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..
(Integer). The applyButton works like an OK button except the dialog remains after the button is pressed. 0=not visible; 1=visible.
Example
Examples.Applications.UIAppexamples/ui_samp.v
File
See Also Related Modules