EVENT_LOST_FOCUS
- Updated2023-02-21
- 1 minute(s) read
EVENT_LOST_FOCUS
Description
If a control is the active control (has the input focus), actions such as clicking a different control or a different panel or pressing <Tab> or <Shift-Tab> change only the active panel. The previous panel will receive the EVENT_LOST_FOCUS event, but the control on that panel will not. When a control loses the input focus, LabWindows/CVI generates an EVENT_LOST_FOCUS event and sends the event to the callback function associated with the panel or control.
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 = New control with focus
eventData2 = 0
LabWindows/CVI Compatibility
LabWindows/CVI 3.0 and later