To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This XControl is useful for limiting the number of characters a user can type into a string control.
Description
This XControl uses code written in two sub-vis to limit the number of characters that can be entered into the control. The number of characters can be changed at run-time through the "String Length" property. This XControl also comes with three other properties: BG Color, Text Color, and Font. Included is an example of how the XControl may be used.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Any suggestions ????
useful xcontrol !
Would be nice to remove forbidden characters in string (e.g \t\s\r\n)
These characters could be defined in "forbid chr's" array like "string length".
very precise