I'm in need of some :sign0085:
My editable table program (http://www.b4x.com/forum/showthread.php?t=487) could be made better if the data in the TextBox was highlighted ready to be overwritten with new data.
This seems to have got the better of me even though I'm certain it must be possible.
So far I've tried turning the Focus onto the TextBox but this didn't work, I then tried selecting whatever data was in the TextBox but still no joy.
What else is there to do
Anyway, here's what I've already tried....
Any takers on what I'm doing wrong?
Thanks,
RandomCoder
My editable table program (http://www.b4x.com/forum/showthread.php?t=487) could be made better if the data in the TextBox was highlighted ready to be overwritten with new data.
This seems to have got the better of me even though I'm certain it must be possible.
So far I've tried turning the Focus onto the TextBox but this didn't work, I then tried selecting whatever data was in the TextBox but still no joy.
What else is there to do
Anyway, here's what I've already tried....
B4X:
TextBox1.Focus=True
TextBox1.SelectionStart=0
TextBox1.SelectionLength= StrLength(TextBox1.Text)
Any takers on what I'm doing wrong?
Thanks,
RandomCoder