04-14-2022 03:51 PM
Hi All,
Is there a simple way to determine if there are any characters populated into a string control? For example, I would like to produce a boolean true if there are characters written in the string control, and false if the control is empty?
Thanks,
Nick
Solved! Go to Solution.
04-14-2022 03:57 PM - edited 04-14-2022 03:58 PM
Try negating the output of "Empty String Path Filename?" on the Comparison pallet.
04-14-2022 04:03 PM
Perfect, thanks!
04-16-2022 10:30 AM
Also remember that string controls have a few more additional useful options such as "limit to single line" and "update value while typing".
By default, characters in a string control are not read by the code until the entry is finalized (clicking outside, hitting <enter> if set to "limit to single line", etc.).
If you set it to "update value while typing", you'll get a more instant response if programmed correctly.