"startRename"
If in-place renaming of the specified item is enabled (see "setRenameEnabled"), this function starts renaming the item in the specified column, by creating and initializing an edit box.
Synopsis
shape.startRename(string Id, int column);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
Id | The ID of the item |
column | The column of the item |
Description
If in-place renaming of the specified item is enabled (see "setRenameEnabled"), this function starts renaming the item in the specified column, by creating and initializing an edit box.
Example
In the following example "setRenameEnabled" is set to TRUE for the element "WHOLE_NAME " in the column 1. The element can be renamed using the attribute "startRename".
main()
{
TREE1.setRenameEnabled("WHOLE_NAME",1,TRUE);
TREE1.startRename("WHOLE_NAME",1);
}
Assignment
Tree widget