Page 1 of 1

DeleteUnusedStyles and focus

Posted: Mon Dec 01, 2014 7:55 am
by israelgs
Hi!

Since I installed the 15.3.2 version of TRichView when DeleteUnusedStyles focus to TRichView, something that had not happened is assigned.

How I can prevent this change of focus?

Thanks

Posted: Mon Dec 01, 2014 12:02 pm
by Sergey Tkachenko
I tried to reproduce it - I placed TRichViewEdit and TButton, the button calls DeleteUnusedStyles. When I click it, the focus remains on the button.
The same happens if I use TSRichViewEdit instead of TSRichViewEdit.

May be you have some code in events that switches the focus?