anchor for buttons?

  • Thread starter Thread starter Co
  • Start date Start date
C

Co

Hi All,

I have a form with a Listview and at the bottom right two buttons.
The Listview is anchored so that when I resize the form it grows or
shrinks.
However for the buttons that doesn't work. When I resize the form the
buttons
disappear. What do I need to keep the buttons in the right place?

Marco
The Netherlands
 
Co said:
Hi All,

I have a form with a Listview and at the bottom right two buttons.
The Listview is anchored so that when I resize the form it grows or
shrinks.
However for the buttons that doesn't work. When I resize the form the
buttons
disappear. What do I need to keep the buttons in the right place?

Where do you want to anchor them? What's their Anchor property? If you want
to anchor them bottom right, set their anchor property to "Bottom, Right"
(how surprising ;) )

"How to: Anchor Controls on Windows Forms"
http://msdn.microsoft.com/en-us/library/8y52cxte.aspx


Armin
 
Co said:
Hi All,

I have a form with a Listview and at the bottom right two buttons.
The Listview is anchored so that when I resize the form it grows or
shrinks.
However for the buttons that doesn't work. When I resize the form the
buttons
disappear. What do I need to keep the buttons in the right place?

Where do you want to anchor them? What's their Anchor property? If you want
to anchor them bottom right, set their anchor property to "Bottom, Right"
(how surprising ;) )

"How to: Anchor Controls on Windows Forms"
http://msdn.microsoft.com/en-us/library/8y52cxte.aspx


Armin
 
Anchor them better and for buttons mostly on the bottom and not at the top.

As an anchor is above you it is a dangerous thing, you as Dutch should know.

:-)

Cor
 
Anchor them better and for buttons mostly on the bottom and not at the top.

As an anchor is above you it is a dangerous thing, you as Dutch should know.

:-)

Cor
 
Back
Top