Board index » delphi » How to place TLabel text on MDI form

How to place TLabel text on MDI form

Hi.
How to place TLabel text on MDI form (fsMDIForm) but to back of other
fsMDIChild forms.

Kemil

 

Re:How to place TLabel text on MDI form


Quote
In article <7cimrp$1e...@forums.borland.com>, Kemil Kujundzic wrote:
> How to place TLabel text on MDI form (fsMDIForm) but to back of other
> fsMDIChild forms.

Does not work since the MDI main form is filled completly by the MDI
client window. This is not a Delphi form and does not know how to
display TControl descendents.

You can put a TPanel on the main form and the label onto the panel, but
in this case the MDI child forms will never overlap the panel, of
course. The is a code example on how to display a bitmap on the MDI
client window at

http://www.inprise.com/devsupport/delphi/qanda
"Displaying a bitmap on the client area of an MDI parent form."

The same technique can be used to paint other stuff like text on the
MDI client.

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitely requested!

Other Threads