bobthenob
Electrical
- Oct 21, 2006
- 1
hi i have only recently started visual basic
i seached through the posts this post(thread766-125113)
I thought would awnser my problem.
i have tick boxes that the user selects
heres the code for 2 of the tick boxes
i add the Chr$(10) & Chr$(13) and tryd vbCrLf
as i want each output to go on a sepertate line i have multiline on true
but it will only show 1 line or the other with
thanks any help would be apreceated
i seached through the posts this post(thread766-125113)
I thought would awnser my problem.
i have tick boxes that the user selects
heres the code for 2 of the tick boxes
Code:
Private Sub chk1_Click()
If chk1.Value = vbChecked Then
txt1.Text = "texthere " & Chr$(10) & Chr$(13)
ElseIf chk1.Value = vbUnchecked Then
txt1 = ""
End If
End Sub
Private Sub chk2_Click()
If chk2.Value = vbChecked Then
txt1.Text = "more text here " & Chr$(10) & Chr$(13)
ElseIf chk2.Value = vbUnchecked Then
txt1 = ""
End If
End Sub
as i want each output to go on a sepertate line i have multiline on true
but it will only show 1 line or the other with
thanks any help would be apreceated