|
-
Oct 14th, 2004, 12:04 AM
#1
Thread Starter
Member
Adding Text To Textfield
I have a problem tat is when I double-click on a text (sentence or number), it will add to the textbox automatically, but it adds to the 1st line/top of the textbox. However, there is already something which I have declared at the top of the textbox. Can I modify my code so that if I double-click it, it will add to the lines after my 1st line and not b4 tat, so tat my 1st line will always be on the top of the text box and those I double-click on will add to the lines below my 1st line?
My code:
Private Sub List1_DblClick()
txtBat.Text = "cls" & _
vbCrLf & txtBat.Text
txtBat.Text = "start /w Hi.vbs" & _
vbCrLf & txtBat.Text
txtBat.Text = "start telnet " & List1.Text & _
vbCrLf & txtBat.Text
End Sub
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
|