BBjWindow::addInputDSpinner
Description
In BBj 7.00 and higher, this method creates BBjInputDSpinner on the BBjWindow.
Syntax
Return Value |
Method |
---|---|
addInputDSpinner(int ID, number x, number y, number w, number h) |
|
addInputDSpinner(int ID, number x, number y, number w, number h, BBjNumber min, BBjNumber max) |
|
addInputDSpinner(int ID, number x, number y, number w, number h, string flags$) |
|
addInputDSpinner(int ID, number x, number y, number w, number h, string flags$, BBjNumber min, BBjNumber max) |
|
addInputDSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$) |
|
addInputDSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, BBjNumber min, BBjNumber max) |
|
addInputDSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$) |
|
addInputDSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, int restore, int value) |
|
BBjInputDSpinner |
addInputDSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, int restore, int value, BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner(int ID) |
BBjInputDSpinner | addInputDSpinner(int ID, BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner(int ID, string flags$) |
BBjInputDSpinner | addInputDSpinner(int ID, string flags$, BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner(int ID, string flags$, string mask$) |
BBjInputDSpinner | addInputDSpinner(int ID, string flags$, string mask$, BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner(int ID, string flags$, string mask$, string rules$) |
BBjInputDSpinner | addInputDSpinner(int ID, string flags$, string mask$, string rules$, int restore, int value) |
BBjInputDSpinner | addInputDSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, int restore, int value, BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner() |
BBjInputDSpinner | addInputDSpinner(BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner(string flags$) |
BBjInputDSpinner | addInputDSpinner(string flags$, BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner(string flags$, string mask$) |
BBjInputDSpinner | addInputDSpinner(string flags$, string mask$, BBjNumber min, BBjNumber max) |
BBjInputDSpinner | addInputDSpinner(string flags$, string mask$, string rules$) |
BBjInputDSpinner | addInputDSpinner(string flags$, string mask$, string rules$, int restore, int value) |
addInputDSpinner(number x, number y, number w, number h, string flags$, string mask$, string rules$, int restore, int value, BBjNumber min, BBjNumber max) |
Parameters
Variable |
Description |
||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
INPUTD control ID. |
||||||||||||||||||||||
x |
Horizontal position of the upper-left corner of the INPUTD control. |
||||||||||||||||||||||
y |
Vertical position of the upper-left corner of the INPUTD control. |
||||||||||||||||||||||
w |
Width of the INPUTD control. |
||||||||||||||||||||||
h |
Height of the INPUTD control. To create a standard size control, set the h parameter to 0. |
||||||||||||||||||||||
flags |
Control flags, as follows:
|
||||||||||||||||||||||
mask |
Output mask. If specified as "", the current default date mask from STBL("!DATE") is used. See Date Input for complete rules. |
||||||||||||||||||||||
rules |
Input rules. If specified as "", the value in STBL("!IRULES") is used.
|
||||||||||||||||||||||
restore |
Restore value, specified as a Julian date. Use -1 for blank, 0 for today, or JUL(Y,M,D) for a particular date. |
||||||||||||||||||||||
val |
Initial value, specified as a Julian date. Use -1 for blank, 0 for today, or JUL(Y,M,D) for a particular date. |
Return Value
This method returns the created object.
Remarks
A BBjInputDSpinner adds spinner functionality to a standard BBjInputD control.
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.