I'm going to try that now, I'll post back to see if I need more help, thanks~!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: rabbit on June 20, 2006, 08:13 AMInstead of bashing the code, why not post a 'well' writting AddChat routine?
Maybe if you didn't use a poorly written AddChat routine....
Public Sub AddC(RTB As RichTextBox, ParamArray Parts() As Variant)
Dim i As Integer
With RTB
.SelStart = Len(.Text)
For i = LBound(Parts) To UBound(Parts)
.SelLength = 0
If VarType(Parts(i)) = vbCurrency Then
Select Case Parts(i)
Case 0: .SelBold = True
Case 1: .SelBold = False
Case 2: .SelItalic = True
Case 3: .SelItalic = False
End Select
ElseIf (VarType(Parts(i)) = vbInteger) Or (VarType(Parts(i)) = vbLong) Then
.SelColor = Parts(i)
Else
.SelText = "[ " & Time & "] " & CStr(Parts(i))
.SelStart = Len(.Text)
End If
Next i
.SelText = vbCrLf
.SelStart = Len(.Text)
End With
End Sub
Page created in 0.126 seconds with 16 queries.