Example Programs

Showing results for 
Search instead for 
Did you mean: 

Ctrl-A to Select All in a String

by Example Gatekeeper on ‎03-13-2017 02:39 PM - edited on ‎03-14-2017 02:19 PM by Example Gatekeeper

Overview

Demonstrates how to implement Ctrl-A support to select all text in a string control.

Description

Demonstrates how to implement Ctrl-A support to select all text in a string control.

Hardware and Software Requirements

LabVIEW 2015 (or compatible)

Steps to Implement or Execute Code

1. Run the VI.
2. Type text in the string.
3. While the string has focus, press Ctrl-A. You should see all the text in the string highlighted.
4. Click Stop to stop the VI.

Additional Information or References

Comments
Example Gatekeeper
Example Gatekeeper

FYI, there is a discussion on the DQMH forums here about how to use a simple DQMH module to add Ctrl-A support to an arbitrary number of strings in an arbitrary number of VIs simply with a single subVI.