J
jvdb
I'm making a shape with a textbox. The user should be able to edit th
text, but should be constrained to only one line of text. Currentl
when the user presses <Enter> a new line is created, but I want t
override the behaviour of <Enter> so that text editing will stop, jus
like when the user presses <Esc> or click outside the textbox.
In a perfect world, I would also like to constrain the characters th
user can type in the textbox, e.g. no ^ & and % are allowed.
Any ideas
text, but should be constrained to only one line of text. Currentl
when the user presses <Enter> a new line is created, but I want t
override the behaviour of <Enter> so that text editing will stop, jus
like when the user presses <Esc> or click outside the textbox.
In a perfect world, I would also like to constrain the characters th
user can type in the textbox, e.g. no ^ & and % are allowed.
Any ideas