• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 138
  • Last Modified:

Tab - How to look at

Stupid question:  In design mode, I'm looking at a form with a tab control with 4 tabs.  Contents of the first tab are displayed.  How do I get to look at stuff living beneath the other tabs? -- Norm
0
npnp
Asked:
npnp
1 Solution
 
mcriderCommented:
If you're using sstab, just click on the tab...


Cheers!
0
 
jjmartinCommented:
If you're using the tabstrip:

The TabStrip control is not a container. To contain the actual pages and their objects, you must use Frame controls or other containers that match the size of the internal area which is shared by all Tab objects in the control.

 
0
 
TheAnswerManCommented:
the Tab control displays above some other controls.. so If you put a label on the tab.. it actually drops under it.

What you have to do is place a container control, say.. a picturebox, on the area you would be displaying the cotrols for tab1.
Copy the Picturebox.. and say yes. to make it an array .. Make them items 1, and 2 instead of 0 and 1

 Place each of the controls to be displayed on tab1 in Mypicturebox(1)


Place each of the controls to be displayed on tab2 in Mypicturebox(2)

Make sure the left and top properties of the Pictureboxes are the same.

Now make the Pictureboxes invisible.

When the User changes tabs..
do something like this..

dim x as long
for x = 1 to mypicturebox.count
   mypicturebox(x).visible = false
next x
 
MyPictureBox(mytab.selecteditem.index
).visible = true

0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
npnpAuthor Commented:
Thank you all for your interest. This app was written by someone else (who quit!), and I was asked to "fix it".  Again, in DESIGN mode:  There is a TabStrip with 4 tabs.

If I click on the tabs themselves, I get the properties of the tab strip itself, and those little "handles" surround the entire tabbing area.

If I click just below the tab strip, the handles surround the entire area beneath the tab strip itself, and I get the properties for "fraJobSetup(0)", which is a frame.  

fraJobSetup(1),(2),(3), frames for the other three tabs, are also listed, and I can select and display their properties, but for the life of me I cannot make them appear on screen.

Please help. -- Norm
0
 
npnpAuthor Commented:
See my prior comment.  I don't want to muck with the code until I know for sure what I am doing.  I simply want to access the existing frames which live under the tabs, in DESIGN mode, so I can look at them.  They are there all right if the app is actually run.  I just want to look at them in DESIGN mode.  -- Norm
0
 
paulwelterCommented:
The Trick to working with tabs is it to "bring to front" the frame you want edit.  Since the frames are hidden at run time, except the one that is clicked, it does't matter what frame is on top.  

So, step by step . . .

Find the frame you want to edit in the Properties window drop down.  next, under the Format -> Order menu, select "bring to front".

that should bring the frame you want to edit to the top.

good luck
0
 
npnpAuthor Commented:
paulwelter:  Thank you very much!  I must say it wasn't exactly obvious how to do that.

Happy new year!  -- Norm
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now