Automatically resize a tab control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I have a tab control that contains three subforms; each of which has been
placed under a separate tab. Each subform is different in dramatically
different in size than the next. Problem I'm having with this tab control is
the size itself. Tab #1 has a very large subform on it, and hence, requires
a lot a space. But Tab #2 is a fairly small subform. So when someone clicks
on that tab, they see a bunch empty space at the bottom because the entire
control has been sized to fit Tab #1.

Is there any way I can automatically resize a tab control so that when
someone clicks on a tab, it suto-sizes to the contents of the subform?

Appreciate anyones help. Thanks,
Joe
 
I have not tested this, but to the best of my knowledge I believe you would
first have to re-size the larger subform control, then re-size the tab
control.
 
Back
Top