Jump to content

Track the moment of closing some tab in UniPageControl


artem_niko

Recommended Posts

Good afternoon!

Does UniPageControl have some kind of property, event, with which it would be possible to track the moment of closing of some tab?
For example, if there are 3 tabs on UniPageControl now, then if some tab is closed, then execute the code.
I don't mean the onClose event in UniTabSheet. I need to track, at the UniPageControl level, the moment that some tab closed.

Link to comment
Share on other sites

6 minutes ago, Sherzod said:

This post may help you:

 

The code on this link is good, by the way, yes, it will be useful to me later now.
But!
My question is not about the tab closing event, namely when the tab was already closed, after it was closed.
I need to unload the DLL package simply.
If I put the upload code in the tab closing event, the application freezes, because the tab is created dynamically and destroyed by clicking on the button.

How to execute the code exactly after closing the tab?

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