EVENT_HSCROLL
- Updated2023-02-21
- 1 minute(s) read
EVENT_HSCROLL
Description
Panels and Strip Chart, Text Box, Table, and Tree Controls—When a user scrolls a panel or strip chart, text box, table, or tree control horizontally, LabWindows/CVI generates an EVENT_HSCROLL event and sends the event to the callback function associated with the panel or control.
Tab Controls—When a user scrolls through the tab control, LabWindows/CVI generates an EVENT_HSCROLL event and sends the event to the callback function associated with the tab control.
This event is swallowable for tab controls. Return 1 to swallow EVENT_HSCROLL.
Applies To
Panels, strip charts, tables, tabs, text boxes, and trees
Event Data Parameters
User Interface Object | Event Data Values |
---|---|
Panels, strip charts, text boxes, tables, and tree controls | eventData1 = oldScrollOffset, in pixels eventData2 = newScrollOffset, in pixels |
Tabs | eventData1 = oldFirstIndex eventData2 = newFirstIndex |
LabWindows/CVI Compatibility
LabWindows/CVI 7.0 and later