trichview.com

trichview.support




is there an item.onTextStyleChanged ?


Return to index


Author

Message

Daniel Zimmerman

Posted: 04/28/2004 1:32:37


I would like to execute some code when an item changes text style.  Is

there a way to trap this?  Preferably through an event, but if need be we

could override a setStyle-type method in our own *ItemInfo descendent.


I am currently trying to use the RichViewEdit.onCurTextStyleChanged method,

but i don't know of a way to get immediately which item is changing -

either we have to loop through the selected items, which is a bit more code

when there is a table in the middle, or we can use the

RichViewEdit.getCurrentItem method, which returns where the cursor is

located but doesn't let us account for several selected items.


Or, would there be another way to do this?


Thanks,

Daniel





Powered by ABC Amber Outlook Express Converter