C
clifgriffin
Guest
Okay...this is driving me crazy. I have a text box named txtDisplay in a Tab Control named TabControl1 on page 2 named Tab2.
How do I reference it correctly from the code???
I keep getting a "Index and length must refer to a location within the string." error.
This is the code I'm currently using..
Private Sub DisplayText(ByVal t As String)
txtDisplay.AppendText(t)
End Sub
If I move the text box off of the tab control it works...
How do I properly reference the text box??
Thanks in advance!
Clif
How do I reference it correctly from the code???
I keep getting a "Index and length must refer to a location within the string." error.
This is the code I'm currently using..
Private Sub DisplayText(ByVal t As String)
txtDisplay.AppendText(t)
End Sub
If I move the text box off of the tab control it works...
How do I properly reference the text box??
Thanks in advance!
Clif