RichTextBox - TabStrip - Zorder
I have a Tabstrip and a RTB and when I click on the tab I want to show the RTB it gives me an error saying "wrong number of arguments or invalid property assignment" on this line
Code:
RichTextBox1(tabCode.SelectedItem.Index - 1).ZOrder 0
I tried to change it to
Code:
RichTextBox1(tabCode.SelectedItem.Index - 1).Visible = True
but it gives the same error. Is it possible for a RTB to do this or do I not have the code right? Before it was a texbox and I want to change it to a RTB, any suggestions?
Scoutt