I am very very new to VB. I just installed VB6 professional on my computer where I am using XP home edition and having some problem defining my first form.
I am trying to use TabStrip and then some text boxes with labels by them. I am able to bring and show all kinds of different things on the tabstrip eccept the lables. Lables always go into the background of the tabstrip. I tried changing the properties to come in foreground and all I could think of but no success.
Same thing is happening with the Frame, I can't show any label on the frame but text boxes, combo boxes everthing comes fine.
You will find that you have to draw the control on the frame or tabstrip directly.
You may be able to copy/paste after you click on the frame, I forget.
Well some how when I directly drew on the frame it is working , good news. But still it is not working on the TabStrip. I would prefer to use the TabStrip if there is any other trick for the label to show on it or any other control in which I can show the text (label) for any text box or a combobox.
Try this. I made a frame, and then dragged the textbox size. when i released the mouse button, it was in the frame. same with the label. it works fine.
I have another very basic question. I have a tabstrip with 5 tabs. I have defined 5 different forms (form1, form2, form3 etc.). When I am trying to write the code to show different forms when tab0, tab1, tab2 etc. is clicked it always takes me to the following code;
Private Sub TabStrip1_Click()
End Sub
How can I determine which tab is clicked so I can load the right form? Please bear with me cuz I just started to learn the VB, LOL.