Smaller Forms

M

Martin Robins

Whilst on the subject of CF windows forms, how do I create a form that is
not full size, such as a dialog?

Every time that I try, the form displays as fuill size anyway.
 
M

Maarten Struys

What you need to do is set the FormBorderStyle property to None. If you
still want to have some sort of a border you have to provide that yourself,
e.g. by overriding OnPaint.
 

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