load unload subforms via tab control

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!
 
A

Arvin Meyer [MVP]

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

johnlute

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top