-
Setting The Form Title
I'm working on a MDI application. When a new child form is created I'm trying to change to title to "Document 1". Later on I'll want to change it again when the user saves the document. To do this I'm setting the Name property to "Document 1" However, at some point after setting that property it get's reset to whatever I had enterred for it's value in the form editor.
Does someone know how to change the form title at execution?
-
Use the Text property if you want to get/set the string that is displayed in the caption (title) of the form.
Petru
-
well what I did is to make the title of the child form the name of the file at execution, leaving it blank in the form designer and when u maximize the child form it adds that name to the parent form title automatically, :)