Page 1 of 1

Table Actions Disabled

Posted: Fri Oct 24, 2008 11:26 pm
by jimmaguire
I use both TRichViewEdit and TSRichViewEdit in my app, my editors are based on the ActionsTest demos for each. The problem I have is with TSRichViewEdit and tables. The Table actions in the TSRichViewEdit are all be disabled on tables in some documents, especially after I do a mail merge. The TRichViewEdit never has a problem. Once the tables actions are disabled they stay that way even on documents that had worked, until I restart the app.

Both have their own TActionLists containing the RVActions.

Any suggestions?

Posted: Sat Nov 01, 2008 11:32 am
by Sergey Tkachenko
Hmm, can you explain how to reproduce this problem?
Do you call SRVGetRichViewEditFromPopupComponent function? If not, TRVAPopupMenu will have problems with TSRichViewEdit, table-related actions will not be displayed in it.

Thanks!

Posted: Wed Nov 05, 2008 2:23 am
by jimmaguire
I had the call to SRVGetRichViewEditFromPopupComponent commented out in the initialization section. So far it looks good!