trichview.com

trichview.support




Selection Display Problem after ApplyStyleConversion


Return to index


Author

Message

DavidRM

Posted: 01/07/2004 7:41:20


I haven't seen anyone else report this, so I figured I would.


In brief, the display of the selected text gets a bit screwy after doing

a font change with ApplyStyleConversion(). The selected text is changed correctly,

but the display of the selection gets messed up.


This problem can be seen in the "Editor 2" demo, compiled with Delphi 6.

Type in some text, or paste it in from another editor. Double-click to select

a single word. Click on the "B" to apply bold formatting. Observe the selected

text. Then click on "B" again. Observe. And so on. After the first couple

clicks it settles into a pattern.


I'm not sure if I'm describing the problem very well, so if you need more

details, let me know.


Thanks.


-David

http://www.davidrm.com





Powered by ABC Amber Outlook Express Converter