469,631 Members | 1,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

Anchor Property

Hey, how do I use the anchor property?

I have it set to Top, Left, but when I expand the form, it doesn't grow with
it... What am I missing?

Thanks,
CJ
Nov 20 '05 #1
4 6760
I'm not quite sure what your talking about, can you be more specific.
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hey, how do I use the anchor property?

I have it set to Top, Left, but when I expand the form, it doesn't grow with it... What am I missing?

Thanks,
CJ

Nov 20 '05 #2
CJ,
The anchor property will keep the control anchored to that side.

Hence setting Anchor to Top & Left will keep the controll fixed to the Top &
Left side. It will not grow as you need to anchor the control to opposite
sides to make it grow.

If you set Anchor to Top, Left & Right, the control will grow as the form
gets wider, but not grow any higher.

Setting Anchor to Top, Left, Right, and Bottom, the control will grow in
both width & height.

The Dock property set to Fill, will effectively causes the control to be
anchored to the edges with no space between the control & the edge.

Hope this helps
Jay

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hey, how do I use the anchor property?

I have it set to Top, Left, but when I expand the form, it doesn't grow with it... What am I missing?

Thanks,
CJ

Nov 20 '05 #3
Hello,

"CJ Taylor" <no****@blowgoats.com> schrieb:
Hey, how do I use the anchor property?

I have it set to Top, Left, but when I expand the form,
it doesn't grow with it... What am I missing?


You may want to set it to 'Right' and 'Bottom' too...

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #4
yeah I got it. Thanks again everyone, pardon my dumb question.

-CJ
"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hello,

"CJ Taylor" <no****@blowgoats.com> schrieb:
Hey, how do I use the anchor property?

I have it set to Top, Left, but when I expand the form,
it doesn't grow with it... What am I missing?


You may want to set it to 'Right' and 'Bottom' too...

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Daniele Baroncelli | last post: by
2 posts views Thread by James | last post: by
6 posts views Thread by Richard Brown | last post: by
10 posts views Thread by elibol | last post: by
2 posts views Thread by jh | last post: by
5 posts views Thread by Randy Webb | last post: by
3 posts views Thread by Joseph Gruber | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.