Set Text Cursor to Control in LabVIEW Programatically

Updated Sep 7, 2018

Reported In

Software

  • LabVIEW

Issue Details

In LabVIEW, I would like to make sure that the user's text cursor is placed in the appropriate field programatically. How can I achieve this functionality?

Solution

This functionality can be achieved through the utilization of the "Key Focus" property in LabVIEW. The example below shows an explicit property node for a string indicator which first clears a string control and then places a users text cursor (key focus) on that control:
 
  

Additional Information

For information regarding resetting the user's mouse cursor position, see the example in the Related Links section.

WAS THIS ARTICLE HELPFUL?

Not Helpful