OnChangePosition Event

[Top]  [Chapter]  [Previous]  [Next]

Member of WPDLLInt

Declaration C#

OnChangePosition(Object Sender, int Editor)

 

Declaration OCX

OnChangePosition(ByVal Editor As Long)

 

This event is triggered when the position of the insertion marker (=cursor) is changed. You can use it to update the statusbar.

The position of the cursor, paragraph number, page number and similar, can be retrieved using the CP* properties published by TextCursor and CurrMemo.TextCursor.

 

However, in general we recommend to use OnUpdateGUI to update all status items, not only the status bar but also the enabled/disabled/checked state of menu items and buttons.

Category

Display Status Information


[idh_wpdllint_onchangeposition.htm]    Copyright © 2007 by WPCubed GmbH