trichview.com

trichview.support.thirdparty




Disable RichViewActions


Return to index


Author

Message

Holger Warzelhan

Posted: 08/26/2004 14:07:36


Hello,

I have a rve on the form, and use the RichViewActions, connected to menu

items and toolbuttons.

Sometimes, I am hiding the rve, and another control occupies the place it

was before. During that time, when the rve is not showing, I would like the

RichViewActions to be disabled, but they keep being enabled, no matter if

I disable or hide rve.


Just setting the actions Enabled:=false doesn't work, the action will be

enabled again right away.


I found a function "SetActionsEnabled" in RichViewActions.pas, but it's declared

as private, which probably has a reason.


How can I do this? What controls, if RichViewActions are enabled or disabled?



Thank you,

Holger





Powered by ABC Amber Outlook Express Converter