Hide a tab control page?

pablavo

Registered User.
Local time
Today, 11:09
Joined
Jun 28, 2007
Messages
189
Hi

I have two sets of tab controls on my main form. I want a page from one tab controls to be invisible while working on a form within the other tab control. This should effectivley hide the appropriate form.

I've tried this but I didn't think it would work anyway. (Not really sure where to put the code so I put it on the form_click event to test)


Dim ctltab As TabControl
ctltab = Forms!frmprojectDetails!Page104
ctltab.Visible = false


does anyone have any ideas how I could achieve thie?

Thanks
 
Hi

I have two sets of tab controls on my main form. I want a page from one tab controls to be invisible while working on a form within the other tab control. This should effectivley hide the appropriate form.

I've tried this but I didn't think it would work anyway. (Not really sure where to put the code so I put it on the form_click event to test)


Dim ctltab As TabControl
ctltab = Forms!frmprojectDetails!Page104
ctltab.Visible = false


does anyone have any ideas how I could achieve thie?

Thanks


Here are links http://www.mydatabasesupport.com/forums/ms-access/143024-tab-control-dynamic-subform-linking.html
to issues with Tab Control and sub forms;
and http://allenbrowne.com/tips.html to Allen Browne's site. There is info on Tab control usage there.
 

Users who are viewing this thread

Back
Top Bottom