Eliminate / Hide the Form's Title Bar

J

John Tripp

In VB 2008, can I eliminate the Title Bar on a form? At a minimum, I want to
hide the min/max/close buttons on the right of the form and ideally I would
like to just not even have a title bar at all!

Thanks, John
 
F

Family Tree Mike

In VB 2008, can I eliminate the Title Bar on a form? At a minimum, I want to
hide the min/max/close buttons on the right of the form and ideally I would
like to just not even have a title bar at all!

Thanks, John

At the minimum then, you can set the ControlBox property of the form to
false. To then get rid of the top bar, set the text property to an
empty string. Just be aware this can make it hard to move your form...
 
A

Armin Zingler

Am 18.03.2010 02:35, schrieb John Tripp:
In VB 2008, can I eliminate the Title Bar on a form? At a minimum, I want to
hide the min/max/close buttons on the right of the form and ideally I would
like to just not even have a title bar at all!

See properties:
- MinimizeBox
- MaximizeBox
- ControlBox
- Formborderstyle

To remove the title bar only, set Controlbox = False and Text = empty
 

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