Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TabCtrl » How to dynamically add remove tabs
Re: How to dynamically add remove tabs [message #60187 is a reply to message #60185] Fri, 29 September 2023 21:36 Go to previous messageGo to previous message
nicesai is currently offline  nicesai
Messages: 2
Registered: September 2023
Junior Member
Thank you İsmail/Oblivion, I did the reference tracking in Array as you suggested, and it works well.

The following part was non intuitive, probably couldn't have guessed at first glance looking at the APIs, but glad I asked and thanks for showing it.
panes.RemoveIf([this](int i) { return &panes[i] == tabs.GetItem(~tabs).GetSlave();

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PROPOSAL] Adding GetCtrlGroup() method to TabBarCtrl.
Next Topic: tabctrl contents not visible
Goto Forum:
  


Current Time: Mon Aug 25 00:27:39 CEST 2025

Total time taken to generate the page: 0.00657 seconds