How to remove the close box, but still keep the max and min box in

G

Guest

MyForm.ControlBox = false;
MyForm.MaximizeBox = true;
MyForm.MinimizeBox = true;

This is not working very well. The form shows without the whole controlbox (max, min, and close box), until you double click the form to maximize it. Then the form will show both the maximize and minimize box.

Any ideas? Thanks.
 

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

Top