-
Jun 30th, 2009, 09:23 PM
#1
Thread Starter
Addicted Member
[RESOLVED] TreeView -- checkboxes
Is it possible to change the Treeview checkboxes from "Tick" to "Cross"?
In other words, I'd like to cross a checkbox rather than ticking when I click on it.
Last edited by winterslam; Jun 30th, 2009 at 10:16 PM.
-
Jun 30th, 2009, 09:46 PM
#2
Re: TreeView -- checkboxes
-
Jun 30th, 2009, 10:14 PM
#3
Thread Starter
Addicted Member
Re: TreeView -- checkboxes
Awesome!
Thanks
Sorry again..
-
Jun 30th, 2009, 10:21 PM
#4
Re: TreeView -- checkboxes
Originally Posted by winterslam
Sorry again..
If you're apologising because you think I was implying that you should have read the documentation yourself, don't sweat it. You should have read the TreeView documentation first but this is not one I would necessarily have expected you to find. The property description doesn't immediately indicate that it will accomplish what you want. It's only when you read the details for the property that you see what it can do and I wouldn't have expected anyone to necessarily do that. The way I see it, you should always read the type overview first and, if you haven't found what you need, the member listing. If nothing raises its head there either then it's on to other sources.
-
Jul 1st, 2009, 12:10 AM
#5
Thread Starter
Addicted Member
Re: [RESOLVED] TreeView -- checkboxes
Is it possible to have multi-state checkboxes? (more than just 'on' and 'off')?
I have read the related documentation but couldn't find the answer.
I can only make the checkboxes 'muti-state' if I disable CheckBoxes property of the TreeView. But if I disable multistate, AfterCheck event no longer gets triggered.
-
Jul 1st, 2009, 01:16 AM
#6
Re: [RESOLVED] TreeView -- checkboxes
I've seen a third-party customised TreeView that does support three states in the check boxes, just like the CheckBox control, but then you'd have to accept the default look of the boxes. You may be able to do more by inheriting the control yourself but I'm not sure how exactly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|