Shift placement of controls on a form ???

  • Thread starter Thread starter David
  • Start date Start date
D

David

I have a form which is displayed in 2 ways.

It either shows 4 command buttons at the bottom or just
two.
In designer the 4 command buttons are centered.
The two leftmost buttons are made invisible in certain
circumstances.
Whern I do this I'd like the remaining 2 buttons to shift
to the center.
Is this possible or am I dreaming?

Anticipating your question. No I cannot use the middle 2
buttons and make the outermost 2 invisible - I wish I
could. And it would be far too much work to switch the
captions and properties of all the buttons do to it that
way.
 
You can reposition the control(s) using Top and Left properties. You may
need to repaint the form after you move the control(s).
 

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

Back
Top