| Subject: Setting default font in RichTextBox (Replies: 1) |
| Date: 06.05.2008 08:58:00 |
Hi folks,
i have problems to set a default font of an own RichTextBox-Class.
1. I create a own class inhertied RichTextBox
2. Into the constructor I try to set the default font like
me.Font = new Font( ...) or
me.Seletionfont = new Font ()
It shows no effect.
3. I believed that the font-size was set later while the form was created.
To check this I implement a eventhandler for the SelectionChanged Event.
Debugging my program i found different font sizes du ... |