PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Scott Wolfington on July 26, 2005, 11:53:28 PM

Title: Tab Control Child Dialog Auto Resize Functionality
Post by: Scott Wolfington on July 26, 2005, 11:53:28 PM
Hey Paul,

Congrats on your new release.  Tried using the new tab control functionality first.  I think you're almost there with it.  On my computer, WinXP, the child dialogs end up longer width/height wise then the tab controls client area width and height.  So, what happens is you don't see the bottom and right side outline of the tab control, since the child forms are covering it.  Maybe I'm doing something wrong though.

One other thing too.  The tab control is kind of flickery when clicking from one tab to the next.  Not sure why that would be.

Edit: Weird, for some reason the width of the child dialogs seem fine now.  The heights are still taller than the tab control itself though.

Scott
Title: Re: Tab Control Child Dialog Auto Resize Functionality
Post by: chicks on January 06, 2006, 03:11:57 PM
Quote from: Scott Wolfington
On my computer, WinXP, the child dialogs end up longer width/height wise then the tab controls client area width and height.  So, what happens is you don't see the bottom and right side outline of the tab control, since the child forms are covering it.

I'm using the tab control (nice implementation!) also, and kinda expected the child forms to resize automatically when the tab control is resized.  No such luck, I have to move and resize them in code.  The left border kept getting hidden behind the child form, until I finally realized that I had to position the child form 1 pixel to the right, and a few pixels narrower and shorter than the tab control.  Looks and works great now, but lots of hair pulling to get it "just right".

Looking forward to 3.0, and the auto-resize item on the "wish list".