Resizing controls on SSTab causes some controls to always appear on top 
Author Message
 Resizing controls on SSTab causes some controls to always appear on top

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



Fri, 26 Sep 2003 05:23:03 GMT  
 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



Fri, 26 Sep 2003 07:23:48 GMT  
 Resizing controls on SSTab causes some controls to always appear on top
Erik,

Our control, AgFastform, will resize your tab and all controls with on its
own without you having to manually select or determine which items.  You can
download a working trial version from our web site if you would like to try
it out.   No coding is needed at all for this resize and form design
control.

--
Sincerely,

Todd B - CEO - Agendum Software

New version AgMapthat Project Browser + released!   Soon to announce five
(5) new products!
Visit our web site for more information on the new product releases!

(608) 837-6736 Voice                              (419) 821-9599  Fax
----------------------------------------------------------------------------
--------------------


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



Mon, 29 Sep 2003 09:18:12 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SSTab Control problem-vb 4.0 (controls doesnt appear except on one tab )

2. ReSizing form controls causes TAB controls to DISAPPEAR????

3. SSTab control does not appear

4. Why is my control always on top?

5. Microsoft Masked Edit Control (32-bit) Always on Top

6. Always on top controls

7. Always on top Control

8. Always on top controls

9. SSTab control and resizing a form

10. sstab control - resizing during runtime problem

11. resizing forms containing the sstab control

12. No Resizing SSTab-Contained Controls from a UserControl

 

 
Powered by phpBB® Forum Software