D'oh! Another thing I broke. Perhaps we should replace the lowest magic number in For loops for the chat control with a constant, like CHAT_LBOUND?
[syntax=vb]Const CHAT_LBOUND = 1
Sub Demo
Dim i as Integer
For i = CHAT_LBOUND to rtbChat.UBound
'do something to each chat history box
Next
End Sub[/syntax]
(EDIT) Proposed as GTA2 Game Hunter Issue 18.