Thread: TextBox Cursor
View Single Post
  #3 (permalink)  
Old 07-02-2007, 07:23 PM
specci48's Avatar
specci48 specci48 is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hi RandomCoder,

I took my posted EditableTablev1.1 and changed the Sub Timer_Tick into
Code:
Sub Timer1_Tick
    Timer1.Enabled = 
false
    TextBox1.SelectionLength = StrLength(TextBox1.Text)
    TextBox1.Focus
End Sub
I don't know why this must be done out of the SelectionChanged sub.

specci48
Reply With Quote