Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21996

guys need simple help textbox

$
0
0
in my chat client i have a multiline textbox1 were i type room message

after i send out the message the textbox1 stays on second line , the caret don't go to beginning

Code:

Dim iClicks As Integer
Private Sub Text7_KeyPress(KeyAscii As Integer)
Dim iClicks As Integer
 If KeyAscii = 13 Then
        iClicks = iClicks + 1
        cmdSend_Click
        Text1.Text = ""
    End If
End Sub

i want curson at start position :p:p:p:p:p

Viewing all articles
Browse latest Browse all 21996

Trending Articles