![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Mar 2008
Location: UK West Sussex
Posts: 665
Thanks: 9
Thanked 9 times in 7 posts
|
How can I tell a control to be active ONLY when the chart itself is active?
Is this actually possible in NT? This compiles but does not seem to work correctly Code:
if( ChartControl.ParentForm == ChartControl.ActiveControl )
Last edited by Mindset; 12-01-2010 at 09:41 AM.
Reason: amended code line
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Mindset,
There aren't supported properties for this but hopefully some of our community members can offer input in this area.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Traders vs Programmers | jupiejupe | Suggestions And Feedback | 9 | 11-25-2010 01:17 PM |
| Advanced C# Programming Area for FELLOW PROGRAMMERS... | funk101 | Suggestions And Feedback | 3 | 04-29-2009 03:11 PM |
| Why Pay programmers? | pjimmyinahouse | Strategy Development | 11 | 07-11-2008 04:46 PM |
| Any Ninja Programmers | abikambic | Strategy Development | 2 | 01-28-2008 03:08 PM |
| Thanks Programmers one and all | Bogan7 | Suggestions And Feedback | 1 | 08-23-2007 07:00 AM |