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
(4,055 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
(4,037 Views)

Done as requested, see here.

0 Kudos
Message 3 of 3
(4,033 Views)