Results 1 to 6 of 6

Thread: [RESOLVED] TreeView -- checkboxes

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    146

    Resolved [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.

  2. #2

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    146

    Re: TreeView -- checkboxes

    Awesome!


    Thanks

    Sorry again..

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,302

    Re: TreeView -- checkboxes

    Quote Originally Posted by winterslam View Post
    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Posts
    146

    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.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,302

    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
  •  



Click Here to Expand Forum to Full Width