#535 Treeview expand/collapse button replacement

ooDialog.4.2.2
closed
ooDialog (102)
complete
1
2013-03-04
2013-02-11
No

It would be nice to be able to change the default +/- expand/collapse buttons in treeviews to more "modern" alternatives such as triangles, if at all possible even developer-designed buttons. Thanks.

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2013-02-12
    • labels: --> ooDialog
    • status: unread --> accepted
    • assigned_to: Mark Miesfeld
    • pending_work_items: none --> code+doc+test
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-02-12

    Committed revision 8972. [r8972] implementation
    Committed revision 8973. [r8973] documentation

    This commit adds the setWindowTheme() method to the DialogControl class. If you invoke the method on a TreeView object passing in the theme name 'explorer' the tree-view will display the triangle expando buttons instead of the + an - buttons.

     

    Related

    Commit: [r8972]
    Commit: [r8973]

  • Mark Miesfeld

    Mark Miesfeld - 2013-02-12
    • status: accepted --> pending
    • pending_work_items: code+doc+test --> complete
    • milestone: v4.2.0 --> ooDialog.4.2.2
     
  • Staffan Tylen

    Staffan Tylen - 2013-02-12

    This commit adds the setWindowTheme() method to the DialogControl class.
    If you invoke the method on a TreeView object passing in the theme name
    'explorer' the tree-view will display the triangle expando buttons instead
    of the + an - buttons.

    Tested fine, thanks. Searching Google for setWindowTheme I found this,
    maybe can be of interest to you as developer:

    http://fc08.deviantart.com/fs26/f/2008/154/0/6/Vista_Visual_Style_Classes_by_UkIntel.html

    Staffan

     
  • Mark Miesfeld

    Mark Miesfeld - 2013-03-04
    • status: pending --> closed
     
  • Mark Miesfeld

    Mark Miesfeld - 2013-03-04

    Feature is in ooDialog 4.2.2

     


Anonymous

Cancel  Add attachments