BBjWindow::addInputE
Description
Creates a masked edit control in the BBjWindow.
Syntax
Return Value |
Method |
---|---|
addInputE(int ID, number x, number y, number w, number h, string flags) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, int len) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, int len, string pad) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, int len, string pad, string val) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, int len, string pad, int initPos, string restore, string val) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, string mask) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, string mask, string pad) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, string mask, string pad, string val) |
|
addInputE(int ID, number x, number y, number w, number h, string flags, string mask, string pad, int initPos, string restore, string val) |
|
BBjInputE | addInputE(int ID) |
BBjInputE | addInputE(int ID, string flags) |
BBjInputE | addInputE(int ID, string flags, int len) |
BBjInputE | addInputE(int ID, string flags, int len, string pad) |
BBjInputE | addInputE(int ID, string flags, int len, string pad, string val) |
BBjInputE | addInputE(int ID, string flags, int len, string pad, int initPos, string restore, string val) |
BBjInputE | addInputE(int ID, string flags, string mask) |
BBjInputE | addInputE(int ID, string flags, string mask, string pad) |
BBjInputE | addInputE(int ID, string flags, string mask, string pad, string val) |
BBjInputE | addInputE(int ID, string flags, string mask, string pad, int initPos, string restore, string val) |
BBjInputE | addInputE() |
BBjInputE | addInputE(string flags) |
BBjInputE | addInputE(string flags, int len) |
BBjInputE | addInputE(string flags, int len, string pad) |
BBjInputE | addInputE(string flags, int len, string pad, string val) |
BBjInputE | addInputE(string flags, int len, string pad, int initPos, string restore, string val) |
BBjInputE | addInputE(string flags, string mask) |
BBjInputE | addInputE(string flags, string mask, string pad) |
BBjInputE | addInputE(string flags, string mask, string pad, string val) |
addInputE(string flags, string mask, string pad, int initPos, string restore, string val) |
Parameters
Variable |
Description |
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ID |
INPUTE control ID. |
||||||||||||||||||||||||
x |
Horizontal position of the upper-left corner of the INPUTE control. |
||||||||||||||||||||||||
y |
Vertical position of the upper-left corner of the INPUTE control. |
||||||||||||||||||||||||
w |
Width of the INPUTE control. |
||||||||||||||||||||||||
h |
Height of the INPUTE control. To create a standard size control, set the h parameter to 0. |
||||||||||||||||||||||||
flags |
Control flags, as follows:
|
||||||||||||||||||||||||
mask |
The following defines the input mask characters for the mask$ parameter:
|
||||||||||||||||||||||||
len |
Length of the returned string. |
||||||||||||||||||||||||
pad |
Input pad character. |
||||||||||||||||||||||||
val |
Default value. |
||||||||||||||||||||||||
initPos |
Beginning of the input region. |
||||||||||||||||||||||||
restore |
Restore value. |
Return Value
This method returns the created BBjInputE object.
Remarks
Accepts user input in a manner similar to the INPUTE verb.
If the ID parameter is not specified, a control ID is assigned dynamically using getAvailableControlID().
If the x, y, width, and height parameters are not specified, they're all initialized to 0. This is typically for use with DWC windows that dynamically arrange their contents (window creation flag $00100000$).
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.