Admin Production ni-theme
Current Publication

EVENT_TREE_CELL_COMMIT

LabWindows/CVI

EVENT_TREE_CELL_COMMIT

Description

When a user edits a cell in a tree and commits the change, usually by pressing the <Enter> key, LabWindows/CVI generates an EVENT_TREE_CELL_COMMIT event and sends the event to the callback function associated with the tree control. If the user changes the value of the cell and then presses the <Esc> key, LabWindows/CVI reverts the value and the event is not sent.

String Cells—Event sent when the user changes text in the string cell and commits to the change.

Ring Cells—Event sent when the user changes the active item in the ring cell and commits to the change.

Combo Box Cells—Event sent when the user selects or adds a new value in the combo box cell and commits to the change.

Checkbox Cells—Event sent when the user changes the value of the checkbox cell.

Button Cells—Event sent when the user selects the button or presses the <Spacebar> key when the cell is in edit mode.

Color Picker Cells—Event sent when the user selects a color from the palette.

This event is not swallowable.

Applies To

Trees

Event Data Parameters

eventData1 = Tree item index of the cell where the event was generated

eventData2 = Column index of the cell where the event was generated

LabWindows/CVI Compatibility

LabWindows/CVI 2009 and later