> I have a String control on my front panel. The pop-up menu has "Limit to
> Single Line" checked. When running the VI, if I type in more data then the
> physical size of the control, it scrolls down to a new line. When I send the
> string out the serial port I see a carriage return in the stream. I would
> think "Limit to Single Line" would limit the data in the string to a single
> line. Most other programming languages have this type of property on a text
> control, and it limits the text to a single line. LV help would make you
> think this is how it should work. Any ideas? Thanks...Ed
>
The Limit to Single Line limits what the user can do with the
panel. It prevents the entry of a carriage return except through
a paste operation. Looki
ng at it on my computer, it prevents
the carriage return as it should, and when too many characters
are typed in, it does wrap the text to additional lines, but it
doesn't insert a carriage return. In fact, the string control
never does this without explicit user interaction.
Greg McKaskle