NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 04-27-2008, 02:34 PM   #1
Lost Trader
Senior Member
 
Join Date: Oct 2007
Location: Tucson, AZ
Posts: 368
Thanks: 2
Thanked 2 times in 2 posts
Default DrawTextFixed() requests

First, how can I put a line break in the text string so that the message is on two lines? I tried two separate DrawTextFixed() stmts but they were written on top of one another.

Second, you should add full examples to your help file, please?
DrawTextFixed(string tag, string text, TextPosition textPosition, Color textColor, Font font, Color outlineColor, Color backColor, int opacity)

Third, your reference links to msdn are broken.

Fourth, all I want is the enumeration list of the supported values for those options (Font, etc). Where do I find this and would you add that link to the help file please?
Lost Trader is offline  
Reply With Quote
Old 04-27-2008, 04:57 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Try add \n at the end of your strings for each line break.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-27-2008, 05:00 PM   #3
Lost Trader
Senior Member
 
Join Date: Oct 2007
Location: Tucson, AZ
Posts: 368
Thanks: 2
Thanked 2 times in 2 posts
Default

That's embarrassing. I really thought that I'd tried that.
Thanks, Josh!
Lost Trader is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DrawTextFixed BradB Indicator Development 4 04-18-2008 08:12 PM
superdom requests bobbethgoo Suggestions And Feedback 1 04-11-2008 09:54 AM
DrawTextFixed not update as expected goover General Programming 2 03-04-2008 08:19 PM
DrawTextFixed rt-trader General Programming 5 01-21-2008 10:46 PM
DrawTextFixed Lost Trader General Programming 6 01-20-2008 12:32 AM


All times are GMT -6. The time now is 08:39 PM.