|
-
March 20th, 2003, 04:09 AM
#1
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?
-
March 20th, 2003, 05:54 AM
#2
Use the Text property if you want to get/set the string that is displayed in the caption (title) of the form.
Petru
-
March 20th, 2003, 01:40 PM
#3
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,
Last edited by phirestalker; March 20th, 2003 at 09:14 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|