G
Guest
Hi again,
I have a textbox where the text is longer than the textbox width. When I
type something in there or even do any single keystroke (other than tab, up,
down, or enter) and then leave, the beginning of the string shows, and focus
goes on to the next box. But if I just tab through or want to go straight to
the next textbox, the beginning of the string is cut off, leaving the end of
the string visible.
More info that may/may not be helpful:
When the textbox is initially entered, I highlight the entire string using
selectionstart = 0, selectionlength = textbox.text.length, textbox.focus;.
In my FocusLeave event, I do use textbox.SelectionStart = 0;, but it only
works if there's that other kind of keystroke (like "a" or left arrow).
Any suggestions???
Thanks again,
Mel
I have a textbox where the text is longer than the textbox width. When I
type something in there or even do any single keystroke (other than tab, up,
down, or enter) and then leave, the beginning of the string shows, and focus
goes on to the next box. But if I just tab through or want to go straight to
the next textbox, the beginning of the string is cut off, leaving the end of
the string visible.
More info that may/may not be helpful:
When the textbox is initially entered, I highlight the entire string using
selectionstart = 0, selectionlength = textbox.text.length, textbox.focus;.
In my FocusLeave event, I do use textbox.SelectionStart = 0;, but it only
works if there's that other kind of keystroke (like "a" or left arrow).
Any suggestions???
Thanks again,
Mel