Sets a value indicating when the text field is highlighted.
<void> TextField.setHighlightMode(<HighlightMode> highlightMode, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
highlight |
Indicates when the text field is highlighted. |
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |
The following example shows how to set the high
function changeHighlightMode(){
TXTextControl.textParts.forEach(textPart => {
textPart.applicationFields.forEach(appField => {
appField.setHighlightMode(TXTextControl.HighlightMode.Activated);
});
});
}