in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

How Do I Resize Treeview in NavBar?

Last post 12-18-2007 2:31 PM by datapax1. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-12-2007 10:32 AM

    How Do I Resize Treeview in NavBar?

    How do I make a TreeView resizable inside the NavBar?

    I have the NavBar on the Sizer and the NavBar can be resized and that works just fine. But I also have a tree view on the NavBar and the tree view does not resize everytime you resize the sizer grids.

     Thanks in advance for your help.
     

  • 12-18-2007 1:38 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 394

    Re: How Do I Resize Treeview in NavBar?

    The easiest way is to use the dock property on the TreeView.  If the treeview was the only object in the navbar panel you can just set the treeview.dock to Fill and that will resize the treeview area along with the panel.  If you have more objects in one NavBarPanel you can place another C1Sizer control in the NavBarPanel first and set the C1Sizer.Dock to Fill.

    hope that helps,
    Greg L

    Filed under:
  • 12-18-2007 2:31 PM In reply to

    Re: How Do I Resize Treeview in NavBar?

    Greg,

    Thank you so much for your help. It did work!

     :)
     

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.