From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Tooltips do misinterpret "\r"

Hello,

 

if I use

 

printf ( "%s", "\t\t\tTest\r Text" );

 

the result is as expected:

 

Text                    Test

 

However, if I print the same text to a string for use as a tooltip the "\r" is interpreted as "\n":

 

                          Test

Text

 

It would be nice if this behavior could be improved, many thanks!

0 Kudos
Message 1 of 3
(3,798 Views)

Nowadays I know very few languages/systems that interpret \r of \f properly. They equate \r to \n and ignore \f and that's about all.

0 Kudos
Message 2 of 3
(3,769 Views)

Lithium asks if this has been solved...

 

I wouldn't call it solved, yet.

0 Kudos
Message 3 of 3
(3,725 Views)