Textbox formatting

J12345T

Member
Licensed User
Hi,

I'm trying to fill a multi line text box with a .txt file. The .txt file contains tabs however, when displayed in the textbox they are treated as spaces rather than tabs. If I fill a label with the same data the tabs are displayed correctly. How can I get the tabs to be displayed correctly in the textbox?

Thanks,

JT.

P.S. Hence my interest in the html panel from the above post. I was hoping to gain rich text and better formatting out of this.
 

mjcoon

Well-Known Member
Licensed User
I can't provide any authoritative answer, but I have a program that writes text including "cTab" to a textbox and they appear wide enough and can be selected by pointer as a single character. This is the case both on desktop and device. (And an easy experiment to try!)

So perhaps the problem is more to do with how tabs are stored in the file than with the textbox?

Mike.
 
Top