
Resizing controls on SSTab causes some controls to always appear on top
The SSTab doesn't actually have separate containers for each tab. It's just
one container and it moves the controls on or off screen depending on the
current visible tab. It moves the controls to the far left for each tab that
is not visible, so there are a couple of ways to do this.
(1) Your code needs to make each tab the active one before resizing the
controls on that tab.
(2) Place a hidden label in the upper left corner of each tab and align all
controls on that tab to the hidden label, since it will still be relative,
in position, to the other controls on the tab.
Either way you need to know which controls are on which tab.
Hope this helps,
Rocky Clark (Kath-Rock Software)
Quote:
> During the form load event, an SSTab and the controls on that SStab are
> resized to fit the screen resolution. This results in some of the controls
> always being on top even when the tab that they are on is not selected.
> Everything works just fine if I don't resize the controls.
> Any thoughts? Thanks in advance.
> --
> Erik Bause
> "I neither approve or disapprove; I relate" - Tallyrand