Jump to content

Do I need free what I have created dynamicly?


55143681

Recommended Posts

On 1/30/2020 at 10:39 PM, Jean-Marc Kiener said:

http://www.unigui.com/doc/online_help/api/uniPanel_TUniPanel_Create@TComponent.html

If the parameter aOwner is set to a form, then the form will free the panels automatic if the form get destroyed.

if the parameter aOwner =  nil then you have to free the panels by yourself.

Thank you verymuch

Link to comment
Share on other sites

On 1/30/2020 at 11:02 PM, Abaksoft said:

@55143681

"It is always better to allow uniGUI to manage when controls must be freed. Normally, controls are destroyed when their owner form is closed."   (Farshad)

http://www.unigui.com/doc/online_help/destroying-controls-at-runtime.htm

http://www.unigui.com/resources/online-documentation/developer-manual

Thank you verymuch

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...