R
Roger Norris
We have a font that uses unicode character 0xF000.
If I have a RichTextBox control, putting the character
0xF000 into the text box causes the font to switch to
Wingdings!
Try this:
RichTextBox myTextBox = new RichTextBox();
..
..
..
myTextBox.Text = "\uF000";
After the attempted insertion of character 0xF000, when I
try typing ordinary letters I get random garbage from the
Wingdings font, regardless of what font the RichTextBox was
previously using.
Am I doing something that I'm not supposed to? Is there is
a workaround for this problem? I really do need to use
that character.
If I have a RichTextBox control, putting the character
0xF000 into the text box causes the font to switch to
Wingdings!
Try this:
RichTextBox myTextBox = new RichTextBox();
..
..
..
myTextBox.Text = "\uF000";
After the attempted insertion of character 0xF000, when I
try typing ordinary letters I get random garbage from the
Wingdings font, regardless of what font the RichTextBox was
previously using.
Am I doing something that I'm not supposed to? Is there is
a workaround for this problem? I really do need to use
that character.