|
-
Aug 13th, 2001, 07:03 PM
#1
Thread Starter
New Member
Multiline Textbox
Okay.. probably another idiot question.. but.. how do I get back to line1 of a multi line Textbox after sending data from it..?
This is how my code works so far:
Private Sub Text1_KeyPress(KeyAscii As Integer)
If (KeyAscii = 13) Then
strVariabe = Text1.Text
Text1.Text = ""
End If
End Sub
However.. after pressing Return and sending the data to strVariable, and clearing the text box.. it always returns to line2 of the box.. while I want the entry point back at the start of the text box.
I hope this makes sense.. it's driving me crazy!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|