Page 1 of 1

Disable the deactivation of the Toolbar-Buttons

Posted: Sun Jul 18, 2010 9:01 pm
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

Posted: Mon Jul 19, 2010 2:27 pm
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)

Posted: Mon Jul 19, 2010 4:36 pm
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 :)