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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.