LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

text box

Text box can't support horizontal tab "\t",why?
0 Kudos
Message 1 of 3
(2,980 Views)
This is sure odd. Sure enough, it doesn't seem to like the \t. It gives a funny little |
I don't think this is a bug, because I think it would have given me an error, instead of popping that odd character up there. What is strange, I checked in the help, and once the project is "running", you are able to go into the text box, and press to insert spaces up to the next four character tab stop. So there seems to be tab presets in there. I know who I can talk to about this, but they are gone on vacation until next year. I will check it out, and post back to here once we get this cleared up. Good eye.
0 Kudos
Message 2 of 3
(2,980 Views)
You can do a shift-tab when you are setting the text box up yourself from the .uir file to get a four space indentation. Were you hopding to do something like this?

InsertTextBoxLine(pan,PANEL_TEXTBOX,-1,"Hello. \ttab \tab");

Doesn't work too well. Usually there are some pretty easy workarounds but this issue has been here at least since 4.0.

Grant
Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 3 of 3
(2,980 Views)