Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4

Thread: Tree Expand

  1. #1
    Join Date
    Sep 2007
    Posts
    10

    Tree Expand

    hi,
    I want to create a button that when I click it , it will Expand just node 1 and not child nodes "1.*" under it in the tree. any suggestion how?

  2. #2
    Join Date
    Apr 2005
    Location
    Allentown, PA.
    Posts
    52
    I saw at least one example of an explorer type tree in the forums a ways back.. I believe it was in the AutoPlay Media Studio v.6.0 examples
    I tried to search for it quick but didn't see it - I know it's there tho. Giver a-look-see

  3. #3
    Join Date
    Mar 2007
    Location
    HeaveN
    Posts
    534
    Quote Originally Posted by meshmeh View Post
    hi,
    I want to create a button that when I click it , it will Expand just node 1 and not child nodes "1.*" under it in the tree. any suggestion how?
    I am not sure if it is what you meant but this is how you can expand node...

    On Button Click Code:
    Code:
    Tree.ExpandNode("Tree1", "1");

  4. #4
    Join Date
    Sep 2007
    Posts
    10
    that what I did
    ChildCount = Tree.GetChildCount("tree", "1");

    -- Check for number of elements
    if ChildCount > 0 then
    min = 1; -- The number to start at
    for count = min, ChildCount do
    Tree.CollapseNode("tree", "1."..count);
    end
    end
    thank you any way

Similar Threads

  1. Tree expand node ?
    By ButtonMaker in forum AutoPlay Media Studio 7.5
    Replies: 1
    Last Post: 01-26-2009, 01:39 PM
  2. Tree (Inheritance)
    By CHGM in forum AutoPlay Media Studio 7.5
    Replies: 0
    Last Post: 01-03-2008, 07:27 AM
  3. Tree Expand Collapse all
    By qwer in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 11-05-2007, 08:03 AM
  4. Tree Object+DataGrid PageJunp Issue
    By pakapaka in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 09-11-2007, 10:02 AM
  5. How do I clear a tree?
    By Teraka in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 03-19-2007, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts