Tab Control - Pages
I only want the user to be able to change the data in this text box control if they are on Page 1. If they are on any other Page, then I would like to Lock the text box control.
If there was a Got Focus event for a Page then I could do what I need; but there isn't!
Is there a way to determine which Page of my Tab Control is active
Thank you for taking the time to report an issue.
What's wrong... Please write below.
I now decided I want to add this subform to a TAB control.
I followed the instructions that are identical from numerous sites, postings on the internet. However the subform keeps showing up for both of the 2 default tab pages.
Is there a trick to dropping the subform onto the TAB control so that it is associated with only one TAB page and is not visible in all TAB pages
How can I make the second page (which is not visible when the form is loaded) to be anchored down?
I defined anchor setting to tab control and to the pages but only the first page is stretched down.
How can I make the second page (which is not visible when the form is loaded) to be anchored down
Different iterations of Me.TabCtl0.Pages.Page1.SetFocus doesn't work. I am unable to find the correct syntax to reference the tab.
A Tab Control is an Access object that allows you to create tabbed pages on an Access form. See picture below.
I have been coding for some time now and just discovered that I could not access one of the pages; the IDE complains that the object is undeclared.
So I took a look at form.designer.vb and found this: Instead of being defined as a friend it is being dimmed in the designer class.
The following code snippet illustrates whats going on:
I've tried adding the missing code myself but this results in the designer failing to load design mode.
Is there a way to have visual studio fix this? I'd rather not recode the form since it is already very well populated with controls.