[REBOL] Re: Rebgui error in table widget
From: robert:muench:robertmuench at: 18-Mar-2007 10:50
On Sun, 18 Mar 2007 09:58:52 +0100, Graham Chiu <compkarori-gmail.com>
> I've got a question about the drop-tree.
> How do you?
> 1. Set the depth of the drop down list ( or can't you ? )
Hi, what do you mean by this? The maximum depth depends on the levels you
have specified. There are 4 quick-access buttons. Pressing 1 expands the
drop-tree to level 1, 2 to level 2 etc.
> 2. Set it so that the tree opens with all the top level nodes closed
> and not opened
Just press the drop-down button. Than you will only see the first level.
> 3. Get the text of a node when you click on a node.
Have you tried face/text? There are two things you can get, the text of
the node and the text of the path.
There are the following public functions:
- get-node "1/2/1" will return the face
- select-node [face / string]
- add-node "1/2/3" face
- remove-node [face / string]
Hope that helps. Robert