Unable to let work TrvActionFontBold (and similar) action

General TRichView support forum. Please post your questions here
Post Reply
multy
Posts: 3
Joined: Tue Jul 07, 2015 9:45 am

Unable to let work TrvActionFontBold (and similar) action

Post by multy »

Hi, I'm trying to let work some kind of actions like TrvActionFontBold, TrvActionParaBullets but I'm not capable.

I'm creating a TDBRichViewEdit at runtime. Also the actions are created at runtime to be used in a customized TActionBar. Some actions like TrvActionCut, TrvActionInsertHLine and others works fine but the action that act to font properties or bullet doesn't work. I create also TRVStyle at runtime (at design time the form is clear). Maybe I'm missing some component or some connection. When I click the bold button I can see that the undo button is hilighted but I don't see any visual change on text that should be bolded.

What I'm doing wrong?

Thanks Davide
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Can you reproduce this problem in a simple project?
If yes, please send it to me.
multy
Posts: 3
Joined: Tue Jul 07, 2015 9:45 am

Post by multy »

Sergey Tkachenko wrote:Can you reproduce this problem in a simple project?
If yes, please send it to me.
Ok I'll try as soon as possible
multy
Posts: 3
Joined: Tue Jul 07, 2015 9:45 am

Post by multy »

multy wrote:
Sergey Tkachenko wrote:Can you reproduce this problem in a simple project?
If yes, please send it to me.
Ok I'll try as soon as possible
I discovered the problem: it was in assigning the groupindex and autocheck properties to the action related; it is not necessary and if done create that strange behaviour.
Post Reply