Home » Developer & Programmer » Forms » How to expand all the tree nodes
How to expand all the tree nodes [message #79623] Thu, 27 June 2002 16:14 Go to next message
JD.Dutt
Messages: 9
Registered: December 2001
Junior Member
Hi,

I have created a tree, which contaians several levels of nodes inside it. This tree gets created according to a local procedure and will be displayed as a single node with '+' label besides the node. The entire tree creation is done when i click on a button.
Now what i want is to expand the entire tree nodes on one click on the root node as like we have an option in forms object navigator(Navigator -> expand all).
Re: How to expand all the tree nodes [message #79624 is a reply to message #79623] Thu, 27 June 2002 22:29 Go to previous message
Subhash
Messages: 105
Registered: October 2001
Senior Member
Hi,

if you want to get the tree in expanded state during population itself, specify the first parameter in the select statement as 1. Now if u want to do that on clicking, u have a write a loop which starts from last node and check the node state. If the node state is Ftree.Collapsed_node then make it Ftree.Expanded_node..

Hope this helps..

Regards
Previous Topic: Exit_form trouble
Next Topic: Re: unable to open a textfile
Goto Forum:
  


Current Time: Fri Apr 19 04:34:38 CDT 2024