OnChange

This event triggers each time the Worktext is changed.

The ChangeInfo parameter provides detailed information about the type of change that took place.

Syntax

OnChange (CharIndex As Long, ChangeInfo As Long)
Parameter Description

CharIndex

Zero-based index of the character for which the change took place.

ChangeInfo

Provides detailed information, about the type of change made to the worktext