I've added a MultiPage control to my form and created 3 tabs. In each tabs, I want to add different grids linked to an access database.
When I added the first grid (on top of a Frame) and I cycle through the different tabs, the grid is displayed in all 3 tabs. So, it seems that my grid is not really "inside" the first tab, it's just on top of the multipage regardless of the selected tab.
Could anyone please provide some help with this!?
Thanks!
This conversation is currently closed to new comments.
Are you using the SSTab(Microsoft Tabbed Dialog Control), or are really using the Microsoft Forms 2.0 MultiPage Control. You should be using the first one. The second one can be referenced in a project, but the DLL itself is not licensed for distribution (however, if you still want to use it then you can - just do not distribute the fm20.dll - it will already be on most MS OS systems anyways).
If you are using the SSTab:
You need to make sure that the grid is a Control of the Frame CONTAINER and the Frame is a Control of the MulriPage CONTAINER, and not just on top of it.
Click on the Grid and Cut it out with Ctrl-X. Then, with-out doing ANYTHING else, Click ON the Frame and then paste the Grid back in with Ctrl-V.
The click on the Frame with the Grid and press Ctrl-X. Then Click on the Tab control and press Ctrl-V.
Do the same for each Tab.
If you are using the MultiPage control:
You need to check in code on the MultiPage click event which tab was clicked, andbased on that, set the visible property of each fram to False and the fram that needs to be shown to true.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
How to use a MultiPage in Visual Basic?
I've added a MultiPage control to my form and created 3 tabs. In each tabs, I want to add different grids linked to an access database.
When I added the first grid (on top of a Frame) and I cycle through the different tabs, the grid is displayed in all 3 tabs. So, it seems that my grid is not really "inside" the first tab, it's just on top of the multipage regardless of the selected tab.
Could anyone please provide some help with this!?
Thanks!