This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

TElXTree How to access a Click on the Focused item? Toggling the Check state.

edited February 2013 in LMD ElPack
Using XE3 and latest ElPack.

I want the checkbox for the focused item in the tree to toggle when I click on the item name, not just the checkbox.

The OnFocus event works fine if the item is not currently the focused item, but OnFocus is not called otherwise.

Thanks.
Raymond 

Comments

  • Same technique as in standard VCL tree controls: Get access to the current item via GetItemAtXXX method (e.g. GetItemAtY), for example in MouseDown event. 
Sign In or Register to comment.