U++ framework
Do not panic. Ask here before giving up.

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: 276
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: Sun Sep 13 15:14:25 GMT+2 2026

Total time taken to generate the page: 0.00565 seconds