BBjInputT::setMask
Description
In BBj 24.00 and higher, this method sets the mask for the BBjInputT control.
Syntax
| Return Value | Method |
|---|---|
| void | setMask(string mask) |
Parameters
| Parameter | Description |
|---|---|
| mask | Specifies the time mask. |
Return Value
None.
Remarks
The mask is formatted according to the rules of the DATE() function and is assumed to represent a time value. It should be limited to the following format codes and standard separators like ":", ".", and " ".
| Format | Description |
|---|---|
| %a | Localized am/pm string. |
| %H | Hour (24-hour clock, 0..23). |
| %h | Hour (12-hour clock, 1..12). |
| %m | Minute 0..59. |
| %s | Second (0..59). |
| %t | Millisecond (0..999). |
Example
|
Version History
See Also
Date Function for mask options
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.