Eliminate / Hide the Form's Title Bar

  • Thread starter Thread starter John Tripp
  • Start date Start date
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
 
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...
 
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
 
Back
Top