trichview.com

trichview.support




Re: When does the "OnChange" event fire ?


Return to index


Author

Message

Sergey Tkachenko

Posted: 11/05/2002 19:22:00


OnChange occurs when changes are complete.

OnSelect occurs when new selection is made.


There are no information about which changes were made.

Most of changes can be tracked using OnItemAction event (requires new

version of RichView), but this is quite a "low-level" event.


> Hi

>

> I need to introduce some programmatic control over user-edit actions

> (specific actions or user feedback depending on selection style). For this

I

> consider using "OnSelect" and "OnChange" events, and the "GetSelection"

> method. My questions are :

>

> 1/ The "OnChange" event : is it an OnBeforeChange, an OnAfterChange, or

> something in between ? In other words, if I call GetSelectionBounds within

> the OnChange handler will the result be based on the old or new content ?

> And in either case, is there a mean to know about the new/old content ?

>

> 2/ Similar question for "OnSelect"

>

> Best regards,

> ML

>

>





Powered by ABC Amber Outlook Express Converter