
BBjWindow::addInputDSpinner
Description
In BBj 7.0 and higher, this method creates BBjInputDSpinner on the BBjWindow.
Syntax
Return Value |
Method |
---|---|
addInputDSpinner(int ID, int x, int y, int w, int h) |
|
addInputDSpinner(int ID, int x, int y, int w, int h, BBjNumber min, BBjNumber max) |
|
addInputDSpinner(int ID, int x, int y, int w, int h, string flags$) |
|
addInputDSpinner(int ID, int x, int y, int w, int h, string flags$, BBjNumber min, BBjNumber max) |
|
addInputDSpinner(int ID, int x, int y, int w, int h, string flags$, string mask$) |
|
addInputDSpinner(int ID, int x, int y, int w, int h, string flags$, string mask$, BBjNumber min, BBjNumber max) |
|
addInputDSpinner(int ID, int x, int y, int w, int h, string flags$, string mask$, string rules$) |
|
addInputDSpinner(int ID, int x, int y, int w, int h, string flags$, string mask$, string rules$, int restore, int value) |
|
addInputDSpinner(int ID, int x, int y, int w, int 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.
Example
USE java.util.HashMap |
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.