Page 1 of 1

Font Action Bug

Posted: Fri Sep 16, 2005 12:24 pm
by wvd_vegt
Hi,

The font action doesn't select the font if one was present in the TRichViewEdit.

So if I insert for instance a Greek Symbol from Symbols font and execute the Font Action and press ok without watching the letter changes into another font.

The FontEx Action preselects the font correctly

Posted: Fri Sep 16, 2005 4:34 pm
by Sergey Tkachenko
This action assigns the font at the caret position to the font dialog. Then the modified font (all its attributes) are applied to the selection.
It is a limitation of standard TFontDialog - you cannot know which properties of font you need to leave untouched.
FontEx action uses a custom-made dialog, so it does not have this problem.