Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21278

Sizing a control in relation to other controls

$
0
0
Good Day Fellow VB6 Coders,

I have a problem centering a control in relation to other controls. I have never done something like this and my attempts to center this control is just not working.
Can anybody assist or advise how this can be achieved?

The problem:

I have a control on the top (auto aligned), a control on the left (auto aligned) and a status bar on the bottom (auto aligned). and they work as they should in terms of location and auto sizing.
But I have a fourth control a picturebox. that I would like to center in relation to the other controls, the little red box (picturebox) on the attached image.

has anyone ever solved a problem like this before?

Attachment 96647
Attached Images
 

Viewing all articles
Browse latest Browse all 21278

Trending Articles



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