[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MDIchild form with no caption

Posted on 2002-03-08
5
Medium Priority
?
361 Views
Last Modified: 2010-04-05
Is it possible to have/create a MDIchild form with no caption?  When you leave the caption property of the MDIchild form empty there still will be two [] in the main form (MDIform) visible after the mainform caption.

Is it possible to avoid this?

Dirk.

PS sorry for my poor English.
0
Comment
Question by:ka1a
5 Comments
 
LVL 9

Expert Comment

by:ginsonic
ID: 6852341
Read this tip:

'How to remove the title bar of a MDI child form'

http://www.lmc-mediaagentur.de/dpool/tips01/0011.htm
0
 

Author Comment

by:ka1a
ID: 6853201
GinSonic,

Thanks for your reaction.  The solution you proposed does remove the titlebar of the MDIform.  But when the MDIform.windowstate:=wsMaximized, then the caption of the MDIform will be visible after the caption of the Mainform.  When you leave the caption property of the MDIchild form empty, there still will be - [ ] after the caption of the mainform.  Is there a solution to avoid that?

Dirk.

PS sorry for my poor English.
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 6855676
I don't have a solution but I wonder why you want this functionality with an MDI form. Isn't there an easier way to get what you want?
0
 
LVL 1

Accepted Solution

by:
bozo7 earned 200 total points
ID: 6859082
Instead of using an MDI form.
When you create the form that is the MDI child. Create it as a normal form but in the on create event set the parent to the form that was MDI.

Here is the code I have in the Oncreate of Form2

form2.parent := form1;
show;

I have the borderstyle on form2 set to bsNone.
Does exactly what you want.
I use this extensivly in another project.

Ross
0
 

Author Comment

by:ka1a
ID: 6869314
Thanks Ross.

I didn't know that this was possible.  Thanks again.

Dirk.

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month18 days, 4 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question