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.