"autoExpandDelay"
Sets the delay time before an item in a tree is opened during a drag and drop operation.
Synopsis
shape.autoExpandDelay(int time);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
time | delay time in milliseconds |
Description
This property sets the amount of time in milliseconds the user has to wait over a node till it will automatically close or open. If the time is set to less than 0, it won't be activated.
EXAMPLE
The delay time is set to 500 ms, therefore the user has to wait for half a second till the node of this tree will be opened or closed.
main()
{
TREE1.autoExpandDelay(500);
}
Assignment
Tree widget