How to dock a From to a component

Please discuss general Delphi programming topics here.

How to dock a From to a component

Postby SaeedShekari » June 2nd, 2009, 4:02 pm

Hi All…

I create a from on runtime, and I want to dock it to a component like TPanel, but I have no idea how to do that, is it possible?
Any help would be appreciated.

Thanks…
Saeed Shekari
User avatar
SaeedShekari
Active Member
Active Member
 
Posts: 20
Joined: March 8th, 2008, 2:01 pm
Location: UAE

Re: How to dock a From to a component

Postby Kambiz » June 2nd, 2009, 5:50 pm

Set Form's Parent property to Panel.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2424
Joined: March 7th, 2003, 7:10 pm

Re: How to dock a From to a component

Postby SaeedShekari » June 2nd, 2009, 6:08 pm

Oh... nice...

I think I had fully forgotten that parent property ... lol...

Thanks Kambiz... You are great…
Saeed Shekari
User avatar
SaeedShekari
Active Member
Active Member
 
Posts: 20
Joined: March 8th, 2008, 2:01 pm
Location: UAE


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron