|enable overwrite in text widget [message #435743]
||Mon, 03 May 2004 23:01
| Chris Gross
Registered: July 2009
I'm using a verify listener to check the input on a text widget (date mask).|
I'd like the text to work in overwrite mode. In other words, when the user
types, the keyed character overwrites the character at the caret position.
I'm not sure how to accomplish that.
I tried modifying the keyevent fields but it seems there is only support for
adding to the text field. I tried changing the start and end positions of
the event but that didn't seem to have any effect on the text inserted (but
changing the text field does effect the text added).
Any help is appreciated.
Powered by FUDForum
. Page generated in 0.02377 seconds