03-02-2012 06:27 AM
how can we just restrict a Edit Field to a width (lets say 70) and if user enters anything that is exceeding the width then the text should be scroll automatically back to make space for user to enter some more text...
How to achieve this?
Solved! Go to Solution.
03-02-2012 06:45 AM
03-02-2012 06:55 AM
"the text should be scroll automatically back"
What does this mean? What will the user see?
It is possible in a FieldChangeListener to listen for the number of characters entered and when it exceeds a limit, it can truncate this and update the Field with the truncated value. However if you try this you will find that you have be very careful about the current cursor position, making sure that the user's insert point is respected.
03-02-2012 07:08 AM
03-02-2012 07:22 AM