Jump to content

form parent


jahlxx

Recommended Posts

For example:

 

If I do from form1:  form2.show, the parent of form2 seems to be mainform

 

But if I do:

 

   form2.parent := form1;

   form2.show;

 

Then the parent of form2 is form1.

 

I don't know why.

 

Is possible this behaviour by default with no need of doing form2.parent := form1?

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...