Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawTextFixed not printing TAB "\t" characters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DrawTextFixed not printing TAB "\t" characters

    I'm probably missing something basic but when I run the following code

    Code:
    DrawTextFixed("tag1", "ColOne\tColTwo\tColThree", TextPosition.TopLeft );
    the output looks like this:

    "ColOneColTwoColThree"

    instead of like this:

    "ColOne ColTwo ColThree"

    In other words, it seems like the DrawTextFixed method doesn't print TABs correctly or I'm doing something wrong. Thoughts?

    #2
    Hello DharmaTrader,

    Thank you for your post.

    In my testing I am unable to use \t in strings for the Draw() methods either, this appears to be unsupported in NinjaScript strings used in the Draw() methods.

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    176 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    331 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    254 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    356 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    184 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X