trichview.com

trichview.support




Re: Best way to add a new action to RichViewAction


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/31/2005 21:42:30


Well, all private members of TrvCustomAction should be protected instead.

Will be fixed in the next update.

But FMessageID allows to use one of predefined captions and hints. You need

to localize new actions in some different way.

(well, dynamic TrvCustomAction.Localize procedure is also defined as

private, this is definitely not good)


> Hi,

>

> In a new Unit I created a new action based on your

> class(TrvActionTextStyles) and very similar to TRVActionInsertHyperlink.

>

> I started to have problems, because some variables and procedures are

> private and I can't see them from my Unit, like "FMessageID" of

> TrvCustomAction.

>

> Is there a way to create a new action without having to edit RVActions.pas

?

>

> Thanks

>

> Anderson





Powered by ABC Amber Outlook Express Converter