Font Action Bug

General TRichView support forum. Please post your questions here
Post Reply
wvd_vegt
Posts: 83
Joined: Tue Aug 30, 2005 7:39 am

Font Action Bug

Post 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
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply