Admin Production ni-theme
Current Publication

EVENT_GOT_FOCUS

LabWindows/CVI

EVENT_GOT_FOCUS

Description

If a control is not the active control (does not have the input focus), actions such as clicking the control or pressing <Tab> or <Shift-Tab> can make it the active control. When a control receives the input focus, LabWindows/CVI generates an EVENT_GOT_FOCUS event and sends the event to the callback function associated with the control or panel.

This event is not swallowable.

Applies To

ActiveX controls, binary switches, canvases, color numerics, command buttons, graphs, LEDs, list boxes, numeric slides, numerics, panels, picture buttons, picture rings, radio buttons, ring slides, rings, splitters, strings, tables, tabs, text boxes, text buttons, toggle buttons, and trees

Event Data Parameters

eventData1 = Old control with focus

eventData2 = 0

LabWindows/CVI Compatibility

LabWindows/CVI 3.0 and later