load unload subforms via tab control

  • Thread starter Thread starter johnlute
  • Start date Start date
J

johnlute

I use lots of tab controls. Many of them have several pages. I
typically place subforms in them. Is it possible to load and unload a
subform with the on click event or focus events of a tab?

Thanks!
 
Sure, but not the click event. Use the Change event. The tab index is zero
(0) based.
 
Thanks, Arvin!

Can you point me to any available examples that you know of? I'm
guessing that it's something like:

If Me.TabCtrlAttributes.Pages = 1 Then...

Tab control events are new to me so I'm probably well off.
 
Back
Top