Dock & Anchor question

F

Frank Rizzo

This maybe a very simple question, but i can't find the answer.
I placed a button dead center in the middle of the form. How do I
anchor it (or dock it or whatever), so that it always remains in the
middle of the form, regardless of how I resize the form?

Can the anchor property be of help, of do I have to do it manually in
response to form_resize?
 
H

Herfried K. Wagner [MVP]

Frank Rizzo said:
I placed a button dead center in the middle of the form. How do I
anchor it (or dock it or whatever), so that it always remains in the
middle of the form, regardless of how I resize the form?

Set its 'Anchor' property to 'None'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top