Replaces the marked text with a specified string. Unmarked text does not change. The text in Edit control does not change if no text is marked.
Syntax:
MarkedTextSet(RepString)
Parameters:
An Alpha that replaces the marked characters.
Returns:
True if the marked text has been replaced or False if the marked text was not replaced. This function returns False when:
No control or a control other than the Edit control is in focus.
This function is evaluated in the flow when the engine is not parked on an Edit control.
The handler is invoked for an event with Force Exit set to Control or Record.
There is no marked text.
Platform specific:
This function is not supported for mobile devices.
See also:
CaretPosGet, MarkText, MarkedTextGet
The Online Samples project (program VA04)