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 07-04-2012, 03:48 PM   #1
oznog
Junior Member
 
Join Date: Dec 2010
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default AllowRemovalOfDrawObjects

Good day,

If the AllowRemovalOfDrawObjects property is set to true, and an object is removed by the user and not from within a script, is anyone notified?

I want to have destructors called in these instances but am not aware of any mechanism that does so.

Please advise.

Thank you.
oznog is offline  
Reply With Quote
Old 07-05-2012, 03:16 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

oznog, there would unfortunately no event handler available for the drawing object removal / state change, however I've added your request on our product enhancement tracking lists.
NinjaTrader_Bertrand is online now  
Reply With Quote
Reply

Tags
allowremovalofdrawobjects, destructor, dispose, free resources

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
AllowRemovalOfDrawObjects cassb Version 7 Beta General Questions & Bug Reports 1 07-31-2010 10:31 PM


All times are GMT -6. The time now is 03:17 AM.