Skip to main content
Visual Components are implemented in FRE for Windows.
This is a callback interface that is used for reporting events from the TextEditor object to the listeners. This interface is implemented on the client-side. See the detailed implementation advice for your development tool in Working with Connectable Objects. This interface is derived from IInputEvents interface and inherits all its methods. Note that the mouse and keyboard input events of Text Validator which has been opened using the Check Spelling button of Text Editor, are translated to Text Editor (not to Text Validator). An object receiving notifications through this interface’s methods may do the following inside the methods’ implementation:
  • Report information about scaling, symbols selection, text editing and cancel these operations.
  • Process any system messages to help prevent the application from appearing unresponsive during long operations. This can be useful in applications with a user interface.
  • Report information about mouse moving and clicking, key pressing, scrolling.

Methods

NameDescription
OnActivePageChangedCalled after the active page has been changed in Text Editor. Delivers to the client a reference to the new active page.
OnActivePageChangingCalled before changing the active page in Text Editor. Delivers to the client a reference to the new active page. Allows you to cancel the operation.
OnEditorBlockChangedCalled after cursor position has been changed in Text Editor. Delivers to the client the index of the block and the cell in the block, where the cursor is currently located.
OnLockedCalled after Text Editor has been locked or unlocked. Delivers to the client information on whether the Text Editor component is locked or unlocked.
OnLongOperationFinishedCalled after the end of a long-term processing operation (e.g., layout analysis, recognition) in Text Editor.
OnLongOperationStartedCalled before the beginning of a long-term processing operation (e.g., layout analysis, recognition) in Text Editor.
OnOptionsChangedCalled after an option have been changed in Text Editor. Options are specified in the Options dialog box, which is displayed if the MI\_Options command is called.
OnScaleCalled before scaling a text in Text Editor. Delivers to the client the scale value. Allows you to cancel the operation.
OnSymbolSelectedCalled after a symbol has been selected in Text Editor. Delivers to the client information on the surrounding rectangle of the symbol.

See also

Working with Connectable Objects TextEditor