BBjWindow::addInputTSpinner
Description
In BBj 24.00 and higher, this method creates a BBjInputTSpinner on the BBjWindow.
Syntax
Return Value | Method |
---|---|
BBjInputTSpinner |
addInputTSpinner() |
BBjInputTSpinner |
addInputTSpinner(int ID) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, number restore, number value) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, number restore, number value, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, string rules$) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, string rules$, number restore, number value) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, string rules$, number restore, number value, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(number min, number max) |
BBjInputTSpinner |
addInputTSpinner(String flags$) |
BBjInputTSpinner |
addInputTSpinner(String flags$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, string rules$) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, string rules$, number restore, number value) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, string rules$, number restore, number value, number min, number max) |
Parameters
Parameter | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
INPUTT control ID. |
||||||||||||||||||||||
x |
Horizontal position of the upper-left corner of the INPUTT control. |
||||||||||||||||||||||
y |
Vertical position of the upper-left corner of the INPUTT control. |
||||||||||||||||||||||
w |
Width of the INPUTT control. |
||||||||||||||||||||||
h |
Height of the INPUTT control. To create a standard size control, set the h parameter to 0. |
||||||||||||||||||||||
flags |
Control flags, as follows:
|
||||||||||||||||||||||
mask | Output mask. If omitted or specified as "", the current default time mask from STBL("!TIME") is used. | ||||||||||||||||||||||
rules |
Input rules. If specified as "", the value in STBL("!IRULES") is used.
|
||||||||||||||||||||||
restore |
Restore value, specified as a number as defined by the BBx TIM variable, or -1 for blank. |
||||||||||||||||||||||
val |
Initial value, specified as a number as defined by the BBx TIM variable, or -1 for blank. |
Return Value
This method returns the created object.
Remarks
A BBjInputTSpinner adds spinner functionality to a standard BBjInputT 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 are all initialized to 0. This is typically for use with DWC windows that dynamically arrange their contents (window creation flag $00100000$).
Example
|
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.