Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

EVENT_SELECTION_CHANGE

LabWindows/CVI 8.5 Help
November 2007

NI Part Number:
370051K-01

»View Product Info

Object Types: Trees and tables.

Description:

Tree Controls—EVENT_SELECTION_CHANGE events are sent to the callback function associated with the tree control when the user makes a selection change on a tree item. This event is sent only when the tree is set to multiple selection mode.

This event is swallowable for tree controls only. Return 1 to swallow EVENT_SELECTION_CHANGE.

Table Controls—EVENT_SELECTION_CHANGE events are sent to the callback function associated with the table control when the cell selection changes as a result of an interactive action.

This event is not swallowable for table controls.

Event Data Parameters:

For tree events:

eventData1 = 1 (selection toggle on)

eventData2 = itemIndex

eventData1 = 0 (selection toggle off)

eventData2 = itemIndex

For table events:

eventData1 = 0 (not used)

eventData2 = 0 (not used)


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit