I want to expand tree on main form when application starts. How i can do it? I cant find corresponding property. C++ builder 2009.
相关问题
- Is there a Delphi 5 component that can handle .png
- Is there a way to install Delphi 2010 on Windows 2
- Is TWebBrowser dependant on IE version?
- iOS objective-c object: When to use release and wh
- DBGrid - How to set an individual background color
相关文章
- Best way to implement MVVM bindings (View <-> V
- Windows EventLog: How fast are operations with it?
- How to force Delphi compiler to display all hints
- Coloring cell background on firemonkey stringgrid
- HelpInsight documentation in Delphi 2007
- Can RTTI interrogate types from project code at de
- What specifically causes EPrivilege to be raised?
- Equivalent to designer guidelines in code
You simply need to call
FullExpand()
on the tree view.There a number of Ways of doing this. The easiest would be
as in the accepted answer - Alternatively
or
The Expand method on a TTreeNode is useful if you want to fully expand from a particular node that is not the root node.
When adding treenode make its expanded property to true
you will find a property for the treeNode Object, set it yo true before add to list of nodes.
and also you can find a method for the treeView called ExpandAll
My Regards
try this code
and see the reference http://www.delphipages.com/forum/showthread.php?t=159148
My Regards