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 » TreeCtrl » OptionTree loses check state when add Callback for the option.
icon1.gif  OptionTree loses check state when add Callback for the option. [message #37576] Fri, 19 October 2012 15:18 Go to previous message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
index.php?t=getfile&id=3898&private=0


Add(horz.Horz().SizePos());
optree.SetRoot("Parent");

optree.Add(0,x[0],"a");
optree.Add(0,x[1],"b");
optree.Add(0,x[2],"c");
optree.Open(0);
		
//if i add below Callback function,the ParentOption`s checkstate //will lose
x[0] <<= THISBACK(OnOption1);

index.php?t=getfile&id=3897&private=0
 
Read Message icon1.gif
Read Message
Previous Topic: Change font color in TreeCtrl
Next Topic: Cannot scroll selected node into view from code [SOLVED]
Goto Forum:
  


Current Time: Sat May 11 20:30:12 CEST 2024

Total time taken to generate the page: 0.02423 seconds