Hello,
I'm using a TextItem with a numeric mask like the following:
The problem is that when a user puts focus into that field, the cursor is located at the end of the text field and not at the beginning. So you always have to manually go to the beginning of the field to be able to enter a number.
Therefore, I am wondering if there is a way to (programmatically) put the cursor to the first position when a field receives focus?
By the way, this problem only occurs in the current Smart GWT version I am using (2.5 power edition, nightly build from 2011/09/25). In previous versions, the cursor is positioned correctly at the beginning.
I'm using a TextItem with a numeric mask like the following:
Code:
TextItem textItem = new TextItem(); textItem.setMask("#######");
Therefore, I am wondering if there is a way to (programmatically) put the cursor to the first position when a field receives focus?
By the way, this problem only occurs in the current Smart GWT version I am using (2.5 power edition, nightly build from 2011/09/25). In previous versions, the cursor is positioned correctly at the beginning.
Comment