Your job is to write sophisticated applications doing great things. So don’t mess around with positioning controls on the form.
DeleGate this job to THBResize and concentrate on more important things. Implemented within minutes. Extendable to all your needs.
When you resize a standard unintelligent form, nothing happens. All controls stay in the upper left corner of the form and don't change in any way. As soon as you place THBResize on the form, add one line of code and you resize again all controls will change their size and position according to the formsize. The form will in each situation present a Compact overall impression.
Quick overview of supported features:
Resize all controls on a form
Resize the font of the controls
Hides very small controls
If there are frames on a form and these frames contain controls then you can explicit decide if these controls within the frames are resized too
Set control specific behavior like keeping the original size, don't resize the font, position relative to a Border
Limit the form size. If the user tries to resize the form out of the limit then he will not be able to do this.
PropertyPage for easy and fast editing
Demo Projects for Visual Basic 6.0, Visual C++ 6.0, Delphi 5.0 and CBuilder 4.0
Lightweight ActiveX control. No dependencies needed! No MFC and No VB-Runtime Dll!
Optimized for Visual Basic, Visual C++, Delphi and CBuilder but can be used in any ActiveX Container