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: 

\t does not work in 'Edit Tooltip String'

Solved!
Go to solution

I don't know if I should call it a bug or a missing feature Smiley Wink

 

If I use SetCtrlAttribute ( panel_handle, control_id, ATTR_TOOLTIP_TEXT, "bla bla \t\t bla bla" ); then the \t is expanded to a tab. This is what I would expect because \n is expanded to a newline/carriage return, too.

 

However, if I use the UI editor to edit the tooltip string and enter the identical text "bla bla \t\t bla bla", then \t is displayed as \t.

 

You know what I am going to say, it's not very consistent Smiley Wink and I would like to see \t working in the UI editor, too.

 

Thanks!

Message 1 of 3
(3,825 Views)
Solution
Accepted by Wolfgang

Hi Wolfgang

 

I tested it and realy... only the /n escape sequence works.

 

Would you like to post it on the Idea Exchange Forum?

http://forums.ni.com/t5/LabWindows-CVI-Idea-Exchange/idb-p/cviideas

 

 

best regards

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

Done as requested, see here.

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