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.
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.
My DGDev forum pascal syntax highlight settings:
<br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
<br />[number=#C00000][reserved=#000000][string=#00C000]
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 ops: )
Bookmarks