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 » TabCtrl and layouts
Re: TabCtrl and layouts [message #8109 is a reply to message #8104] Thu, 08 February 2007 20:13 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
MikeyV wrote on Wed, 07 February 2007 23:27

Ok...here it is. The only two working buttons are the IST/ISR and Operations buttons. Click them each to see what I mean.




Thank you. Identified as bug in TabCtrl code. Will be fixed in next release, or you can use

Quick fix CtrlLib/TabCtrl.cpp 407

void TabCtrl::Reset()
{
	for(int i = 0; i < tab.GetCount(); i++) {
		if(tab[i].ctrl)
			tab[i].ctrl->Remove();
		if(tab[i].slave)
			tab[i].slave->Remove();
	}
	tab.Clear();
	x0 = 0;
	CancelMode();
	sel = -1;
	Refresh();
	accept_current = false;
}


I apologize for troubles.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Removing tabs from TabDlg?
Next Topic: [BUG - FIXED] TabDlg crashes the application
Goto Forum:
  


Current Time: Wed Jun 12 09:20:59 CEST 2024

Total time taken to generate the page: 0.01968 seconds