Jump to content

Destroy frame from itself. What is best practice in UniGUI?


Kast2k

Recommended Posts

Hello!

There is TUniPageControl on Main form and few buttons.

By pressing some button the needed Frame is created and placed on new tab on PageControl.

On VCL application i can do PostMessage from frame with TabIndex f.e. and MainForm will free needed tab and frame on it.

What is the best practice in UniGUI? I cant free the Tab from Frame placed on it.

May be i need to execute some public procedure on Main form which will start a UniTimer and onTimer will free the Tab?

Thank You.

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