How to hide caption Bar in a Form

  • Thread starter Thread starter sajin
  • Start date Start date
S

sajin

Hi All,

When we create new windows application there appears a default form
without any controls , it shows a caption as "Form1" in blue bar ,
could any one tell me how can i hide that part through program , i am
using vb .net 2005 ( meaning i don't want to show the controls like
close,minimize button in the form ,it should be a clear form)


Thanks in advance
Sajin
 
sajin said:
When we create new windows application there appears a default form
without any controls , it shows a caption as "Form1" in blue bar ,
could any one tell me how can i hide that part through program , i am
using vb .net 2005 ( meaning i don't want to show the controls like
close,minimize button in the form ,it should be a clear form)

If you look in MSDN for the documentation of the Form class, you will
find the FormBorderStyle property.
 
Make the Form-ControlBox property as false
and Form Text property as empty string

Steve
 
Back
Top