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

EVENT_COLLAPSE

LabWindows/CVI 8.5 Help
November 2007

NI Part Number:
370051K-01

»View Product Info

Object Types: Trees.

Description: Collapse events are sent to the callback function associated with the tree control when the user collapses a tree item. To collapse a tree, a user can click the minus sign next to the tree item, press the left arrow, and right-click and select Collapse All or Collapse Subtree.

Event Data Parameters:

Right-clicking and selecting Collapse All:

eventData1 = VAL_ALL

eventData2 = 0

Right-clicking and selecting Collapse Subtree:

eventData1 = VAL_DESCENDENT

eventData2 = itemIndex

Clicking the minus sign or pressing the left arrow:

eventData1 = 0

eventData2 = itemIndex

This event is swallowable. Return 1 to swallow EVENT_COLLAPSE.


Resources


 

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