Hi, its me... again
Maybe you know a better solution for the following problem.
Let's say I have a TabStrip and a Frame control on it.
Currently i'm calculating Frame's height and with in form_resize event, to fill frame to TabStrip.
Sometimes I want to use TabStrip Align property (Align-Top) and now we have a problem, because I can't use TabStrip Width,Height propery in form_resize because value is changed after the event is completed.
One way is to the calculations also in Form_Paint, but is this a good idea?
Maybe there is any other good solution, how "dock" frame automatically on tabstrip, when parents align property is used?
Or maybe you can add a Dock property like in .NET and the user can just select Fill
Meelis
Autofill or Dock
Re: Autofill or Dock
You could use the TabStrip's ResizedControlWindow event. It should be fired at the correct time.
Regards
TiKu
Regards
TiKu
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!