Disable the deactivation of the Toolbar-Buttons

General TRichView support forum. Please post your questions here
Post Reply
ThYpHoOn
Posts: 21
Joined: Fri Jul 16, 2010 1:56 pm
Location: Germany

Disable the deactivation of the Toolbar-Buttons

Post by ThYpHoOn »

Hey guys,

i have the problem that my Buttons for the controlling of the TRichviewEdit are on another form so the buttons getting disabled by the ActionList becuase the focus of the TRichViewEdit is lost and on the other form. I have tried to set a timer with 200ms for a workaround but this doesn't work for new forms (eg. Search&Replace or adding an image). Is there a way to deactivate the deactivation of the Toolbar-Buttons if i'm using the actions from TRichViewActions?


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

Post by Sergey Tkachenko »

Sorry, I do not understand. As I understand how the actions work, it does not matter if they are on the different font or not.
But it is important that TRichViewEdit is focused (or TRVAControlPanel.DefaultControl is assigned)
ThYpHoOn
Posts: 21
Joined: Fri Jul 16, 2010 1:56 pm
Location: Germany

Post by ThYpHoOn »

Sergey Tkachenko wrote:Sorry, I do not understand. As I understand how the actions work, it does not matter if they are on the different font or not.
But it is important that TRichViewEdit is focused (or TRVAControlPanel.DefaultControl is assigned)
Ah great, the last sentence was this what i'm looking for. Thanks :)
Post Reply