Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: C1DockingTab .TabPageClose event not firing

$
0
0

I was able to figure out what changed within my control. At some point during the development of the TabPages, I changed the default CloseTabBehavior from Close to Hide. When doing this, it obviously changed which event was fired when clicking the X on the TabPage. Once I discoverd this was the case, I was able to move my verification code from the TabPageClosing event on the DockingTab object to the TabVisibleChanged event on the individual TabPages. I ended up just creating a generic routine that handled all of the individual tab events and wrote a simple class to determine the sender object.


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>