Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1449

Anchor Control

$
0
0
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.
Attached Files

Viewing all articles
Browse latest Browse all 1449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>