Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting rid of title bar on MDI Child form

Status
Not open for further replies.

bsisko

Programmer
Oct 9, 2000
85
US
I'm trying to get rid of the title bar on an MDI child form. I've tried setting its BorderStlye property to csNone in both its FormCreate method and the Object Inspector, and both of them seem to have no effect on the title bar.
 
Try this, in the Object Inspector, change the form's BorderStyle to dsDialog and remove the references in the code. You can also change the form's BorderIcons to all false, that is change all the icon's values to false. (Note: If you do this, you will have to have an alternative way of closing the form besides using the X button, e.g., a timer or another button on the form.) This is what I do when I create a splash screen that I don't want to have a title bar. James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top