try passing the richtextbox ' ByRef ' not ByVal , eg:
VB Code:
Public Function AddChat([COLOR=Red]ByRef[/COLOR] RichTextBox As System.Windows.Forms.RichTextBox, ByVal ParamArray Text() As Object) As Object
|
Results 1 to 6 of 6
Thread: Passing a RTB as a ParamaterThreaded View
|
Click Here to Expand Forum to Full Width |