G
Guest
Maybe there's a better way to do this - but here's what I've developed so far.
I've got a Main Form that's got a ton of fields. Good thing is that the
fields can be arranged logically into categories and sub categories. Bad
thing is that each main category of information has several subcats...
So I've set up five labels with category headings on the form.
I'd like to set it up so that when the user clicks a label, the
corresponding tab control will be displayed. Each of the five corresponding
tab controls are 'stacked' on top of each other so they display in the same
location on the form.
Unfortunately, it isn't working so well.
The On Click event for each label, looks something like this:
Me.(page).SetFocus
Me.(tabB).Visible = False
Me.(tabC).Visible = False
Me.(tabD).Visible = False
Me.(tabE).Visible = False
Me.(tabA).Visible = True
Me.Repaint
The results aren't good. When clicking between the labels, I have to click
two or more times to display the fields on the tab, and even then the tabs at
the top of the tab control don't show up.
Any suggestions?
Thanks,
Scott A
I've got a Main Form that's got a ton of fields. Good thing is that the
fields can be arranged logically into categories and sub categories. Bad
thing is that each main category of information has several subcats...
So I've set up five labels with category headings on the form.
I'd like to set it up so that when the user clicks a label, the
corresponding tab control will be displayed. Each of the five corresponding
tab controls are 'stacked' on top of each other so they display in the same
location on the form.
Unfortunately, it isn't working so well.
The On Click event for each label, looks something like this:
Me.(page).SetFocus
Me.(tabB).Visible = False
Me.(tabC).Visible = False
Me.(tabD).Visible = False
Me.(tabE).Visible = False
Me.(tabA).Visible = True
Me.Repaint
The results aren't good. When clicking between the labels, I have to click
two or more times to display the fields on the tab, and even then the tabs at
the top of the tab control don't show up.
Any suggestions?
Thanks,
Scott A