PDA

View Full Version : Preserving Font Changes in a Memo or RichEdit Control?



Xorcist
30-08-2003, 06:03 AM
Is there and easy way to do this? Every time I change the font, it changes all the text instead of just the text I select or the text I am about to type.

doggo18
30-08-2003, 09:59 AM
Memo only supports one font... which you can set using the Font property.
Richedit however, has a default font, set in the Font property. If you want to change the selected text (or carets position) you ought to use SelAttributes (or whatever it's named; I hate RichEdits :oops: )