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

Home » U++ Library support » TreeCtrl » OptionTree loses check state when add Callback for the option.
Re: OptionTree loses check state when add Callback for the option. [message #37700 is a reply to message #37576] Sun, 04 November 2012 09:12 Go to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
It is because the WhenAction of Option is used by OptionTree to do the work. So if you replace it with your own callback, nothing happens.

Use operator<< to add callback instead of replacing it:

x[0] << THISBACK(OnOption1);


Mirek
 
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: Sun Apr 26 07:01:30 GMT+2 2026

Total time taken to generate the page: 0.00575 seconds