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 » Why does this code hang?
Re: Why does this code hang? [message #45274 is a reply to message #45263] Mon, 26 October 2015 18:58 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 266
Registered: March 2010
Experienced Member
try this:

void test_tabbar::ontab()
{
	if(TB.FindKey(TB.GetHighlight()) >= 0)
	{
		PromptOK(TB.Get(TB.GetKey(TB.GetHighlight())).ToString());
	}
	else
	{
		PromptOK("key Not found");
	}
	
	PromptOK(TB.Get(TB.GetKey(TB.GetCursor())).ToString());
}



regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tabs at bottom of TabCtrl
Next Topic: How can I change the TabCtrl font size and weight?
Goto Forum:
  


Current Time: Tue May 07 01:04:02 CEST 2024

Total time taken to generate the page: 0.03287 seconds