This code example is so that the controls can be anchored to the Form to be resized.
Although there are several examples of anchoring, I noticed that when placing the controls inside the FormChild, the anchoring becomes irregular at runtime and, with that, the anchored controls do not appear as in the design mode, and overlap each other.
To get around this I created this example based on the example of colleague SeabrookStan.
Follow link ... http://www.vbforums.com/showthread.p...king-made-Easy
In VB.Net there is a form property called AutoScaleMode and so this problem is corrected but in VB6 this property is not. So the present example corrects the problem.
Although there are several examples of anchoring, I noticed that when placing the controls inside the FormChild, the anchoring becomes irregular at runtime and, with that, the anchored controls do not appear as in the design mode, and overlap each other.
To get around this I created this example based on the example of colleague SeabrookStan.
Follow link ... http://www.vbforums.com/showthread.p...king-made-Easy
In VB.Net there is a form property called AutoScaleMode and so this problem is corrected but in VB6 this property is not. So the present example corrects the problem.