I'd like to override the default event handler for item actions in a TRichViewEdit. Although my company has purchased a license, I can't access the source at the moment, so I can't figure out what method to override.
What method (if any) can I override to hook onto the default item action event handler for a TRichViewEdit? Thanks!
How to override default method for OnItemAction?
-
- Posts: 25
- Joined: Thu Sep 17, 2009 7:50 am
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 25
- Joined: Thu Sep 17, 2009 7:50 am
I need to take special action in case of some rviaDestroying-actions. I've come 95% of the way using styles (TRVProtectOption etc.), but can't see how to get all the way without some
Case:
I have two the following document:
[protected paragraph A]
[non-protected paragraph B]
[protected paragraph C]
Now, if the user deletes B, she won't be able to insert text between A and C. I'd like to let her delete all the text in B, but keep an empty line between A and C if she does. Problem is, if I assign rvprDeleteProtect to the text in B, the text in B wont' be deleted.
Is it possible to achieve this using styles?
Case:
I have two the following document:
[protected paragraph A]
[non-protected paragraph B]
[protected paragraph C]
Now, if the user deletes B, she won't be able to insert text between A and C. I'd like to let her delete all the text in B, but keep an empty line between A and C if she does. Problem is, if I assign rvprDeleteProtect to the text in B, the text in B wont' be deleted.
Is it possible to achieve this using styles?
-
- Posts: 25
- Joined: Thu Sep 17, 2009 7:50 am
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 25
- Joined: Thu Sep 17, 2009 7:50 am