ECT_Convert
- Updated2023-02-21
- 5 minute(s) read
int ECT_Convert (int panel, int treeToConvert);
Purpose
Converts a tree control into an editable cell tree control.
With an editable cell tree control, you can edit the contents of the cells while the user interface is in operate mode.
Parameters
| Input | ||
| Name | Type | Description |
| panel | int | The specifier for a particular panel that is currently in memory. This handle will have been returned by the LoadPanel, NewPanel, or DuplicatePanel function. |
| treeToConvert | int | Specifies the tree control on the panel to convert into an editable cell tree. Pass the defined constant (located in the UIR header file) that was assigned to the tree control in the User Interface Editor or an ID returned by the NewCtrl or DuplicateCtrl function. |
Return Value
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| editableCellTreeControl | int | Returns the ID used to specify this control in subsequent function calls. Negative values indicate that an error occurred. If the function succeeds, it returns the same ID that was passed in for the treeToConvert parameter. If the treeToConvert was specified using a defined constant (from the UIR header file) that was assigned to the tree control in the User Interface Editor, then you now can use this constant to refer to the editable cell tree control. Error Codes
|
Additional Information
Library: Editable Cell Tree
Include file: custctrl\editableCellTree.h
LabWindows/CVI compatibility: LabWindows/CVI 7.1 and later