E
Einar Høst
Hi,
I'm a newbie in GUI programming, so please bear over with me.
I'm using a RichTextBox, but I would like to restrict the set of legal
characters to, say, digits only. I got the idea that I should subclass
RichTextBox and prevent some event from reaching the base class, but I don't
know which event to intercept, or if that's the correct way to do it. Any
help would be much appreciated!
I'm a newbie in GUI programming, so please bear over with me.
I'm using a RichTextBox, but I would like to restrict the set of legal
characters to, say, digits only. I got the idea that I should subclass
RichTextBox and prevent some event from reaching the base class, but I don't
know which event to intercept, or if that's the correct way to do it. Any
help would be much appreciated!