# EVENT_VAL_CHANGED

Object Types: Numerics, color numerics, numeric slides, strings, text boxes, picture buttons, toggle buttons, text buttons, radio buttons, LEDs, binary switches, rings, ring slides, picture rings, list boxes, graphs, tables, and trees.

Description: The EVENT_VAL_CHANGED event is generated continuously while the user is performing an ongoing action which results in the value of a control changing. Examples of these actions are: operating the up/down arrows of a numeric control, a ring control, or a table cell; holding the left mouse button down while selecting different items of a list box control; dragging a graph control cursor.

Event Data Parameters: For table events calling the control callback function:

eventData1 = row of cell where event was generated. If the event affected multiple cells, such as when you sort or paste a range of cells, eventData1 is set to 0.

eventData2 = column of cell where event was generated. If the event affected multiple cells, such as when you sort or paste a range of cells, eventData2 is set to 0.

For tree events calling the control callback function:

For active item changes, eventData1 = ACTIVE_ITEM_CHANGE
eventData2 = oldItemIndex

For label-changing keypresses, eventData1 = LABEL_CHANGE
eventData2 = keyPressed

For graph events calling the control callback function:

eventData1 = the active graph cursor