DeleteUnusedStyles and focus

Public forum for discussing TScaleRichView (shareware addon to TRichView providing WYSIWYG editing)
Post Reply
israelgs
Posts: 22
Joined: Mon Oct 23, 2006 11:46 am

DeleteUnusedStyles and focus

Post by israelgs » Mon Dec 01, 2014 7:55 am

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

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

Post by Sergey Tkachenko » Mon Dec 01, 2014 12:02 pm

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?

Post Reply