Find Control with Key Focus Method

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Short Name: FindCtrlWithKeyFocus

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

Return a reference to the control that currently has key focus. If there is not a control with key focus in the target VI, Not a Refnum is returned.


Data typeNameRequiredDescription
Control Found?YesIndicates the control that has key focus.


The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryYes
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedNo
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsNo


Not Helpful