Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 07:13:46 +0000



Post From: ACSIL - how to delete (ACSIL) user drawings when time frame is changed?

[2013-07-22 23:07:13]
Kiwi - Posts: 375
Have you tried the delete functions

http://www.sierrachart.com/index.php?l=doc/doc_DLLTools.html#scDeleteLineOrText

In such a situation I would store the current timeframe in a persistent variable and if it changed I would issue a command to delete it ...

perhaps you are using DeleteUserDrawnACSDrawing and you should just use scDeleteLineOrText ... thats the command I have used for this purpose in the past. Not sure but try changing it - and if it doesn't work you might add something to be sure its being called (create a unique tool when it is invoked or send a message to the log say).
Date Time Of Last Edit: 2013-07-22 23:08:29