OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Jim Short on March 18, 2009, 06:02:21 PM

Title: Tree Control
Post by: Jim Short on March 18, 2009, 06:02:21 PM
Say the image of a node is a check mark. Is there a way to click on the image and toggle the check mark without expanding the node?
Title: Re: Tree Control
Post by: owenwengerd on March 18, 2009, 06:35:34 PM
You should be able to do this by setting SingleClickExpand to false, then toggling the image in the OnClicked event.
Title: Re: Tree Control
Post by: Jim Short on March 19, 2009, 06:31:43 AM
This almost works. The OnClicked event fires every where on the tree control such that the highlighted node toggles no matter where or who is clicked. Is there an event that fires only on the selected node?
Title: Re: Tree Control
Post by: owenwengerd on March 19, 2009, 08:15:27 AM
Hmm, then I'm out of ideas. This should definitely be possible, so I'd say a feature request is in order.