The methods defined in the TextBox class are summarized in the following table.
Method | Description |
---|---|
firstVisibleLine | Returns the first visible line |
getRegisteredKeys | Returns an array of the keys that are in effect for the text box |
getScrollRange | Gets the scroll ranges |
getTextAsCurrencyDecimal | Returns the value of the text property in currency format converted to a |
getTextAsCurrencyReal | Returns the value of the text property in currency format converted to a |
getTextAsDecimal | Returns the value of the text property converted to a |
getTextAsInteger | Returns the value of the text property converted to an |
getTextAsInteger64 | Returns the value of the text property converted to an |
getTextAsLongDate | Returns the value of the text property in long date format converted to a |
getTextAsReal | Returns the value of the text property converted to a |
getTextAsShortDate | Returns the value of the text property in short date format converted to a |
getTextAsTime | Returns the value of the text property converted to a |
isValid | Returns whether the value of the text property is valid according to the value of the dataType property |
lineCount | Returns the number of lines of text |
lines | Returns the number of lines available for display in the text box |
registerKeys | Establishes the entire set of key codes in which the key events of a text box are interested |
setTextFromCurrencyDecimal | Sets the text property value to a |
setTextFromCurrencyReal | Sets the text property value to a |
setTextFromDecimal | Sets the text property value to a |
setTextFromInteger | Sets the text property value to a |
setTextFromInteger64 | Sets the text property value to a |
setTextFromLongDate | Sets the text property value to a |
setTextFromReal | Sets the text property value to a |
setTextFromShortDate | Sets the text property value to a |
setTextFromTime | Sets the text property value to a |
For details, see "Window, Form, and Control Methods", later in this document.