Morning all. I was hoping somone would be able to help me with some VBA program that will allow me to move the whole Tab Control on an Access form at runtime.
What I have is a form in Access 2000 that has 2 tab controls side by side, with multiple pages on each control, that looks fine on a 22inch monitor at its heigest screen resolution. Unfortunately not eveyone using this db will have a screen this size or be running at the max resolution.
I'm currently checking the screen resolution as the db starts and changing the value of the left property of my control to match that of other control and turning it invisible until needed. I.E after moving it sits behind the first tab control until a VBA process moves to it.
This all seems to work fine, my problem is that everything within the moved tab control stays where it originally was and the tab control seems to automatically stretch in width to match. I tried setting the width at the same time as moving it but this does not work.
Is it possible to move everything on a tab control to a new location in one move or would I have to move every control on every page?
What I have is a form in Access 2000 that has 2 tab controls side by side, with multiple pages on each control, that looks fine on a 22inch monitor at its heigest screen resolution. Unfortunately not eveyone using this db will have a screen this size or be running at the max resolution.
I'm currently checking the screen resolution as the db starts and changing the value of the left property of my control to match that of other control and turning it invisible until needed. I.E after moving it sits behind the first tab control until a VBA process moves to it.
This all seems to work fine, my problem is that everything within the moved tab control stays where it originally was and the tab control seems to automatically stretch in width to match. I tried setting the width at the same time as moving it but this does not work.
Is it possible to move everything on a tab control to a new location in one move or would I have to move every control on every page?
Comment