Ctrl-A to Select All in a String

製品と環境

このセクションは、サンプルの作成に使用された製品およびOSを反映します。

以下に示された製品を含め、NIのソフトウェアをダウンロードするには、ni.com/downloadsをご覧ください。

    ソフトウェア

  • LabVIEW

コードとドキュメント

添付

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

NIコミュニティのサンプルコード交換のサンプルコードは、MIT Licenseによりライセンス供与されています。

コメント
Darren
Proven Zealot
Proven Zealot

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.