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 NinjaTrader_Brett, 05-12-2025, 03:19 PM
    0 responses
    215 views
    0 likes
    Last Post NinjaTrader_Brett  
    Started by domjabs, 05-12-2025, 01:55 PM
    2 responses
    50 views
    0 likes
    Last Post domjabs
    by domjabs
     
    Started by Morning Cup Of Trades, 05-12-2025, 11:50 AM
    1 response
    54 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by imjustkaze, 05-12-2025, 12:20 PM
    2 responses
    90 views
    0 likes
    Last Post imjustkaze  
    Started by IanS00, 05-12-2025, 11:57 AM
    3 responses
    33 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Working...
    X