Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 20:08:28 +0000



Post From: Updating text drawings drawn by sc.AddAndManageSingleTextUserDrawnDrawingForStudy()

[2020-12-30 08:39:50]
ycomp - Posts: 274
I use this function sc.AddAndManageSingleTextUserDrawnDrawingForStudy() and it works well.

I do have one small problem. If I hide the study then the drawing object is not erased. If I think enable another copy of this study, the drawing object will still be the old one until I go and explicity delete the old text drawing from the Manage Drawings dialog.

Another example of this problem is if edit the text location in the inputs (I have inputs for these in my study, which are used by sc.AddAndManageSingleTextUserDrawnDrawingForStudy() for the location where to draw it) then hit Apply, it will not move the drawing from the old location. It will stay in the old location even though I specified new location in the inputs. Likewise if I hit Ok the same thing happens.

It is not until I delete the text drawing from the Manage Drawings dialog that the Text will then afterwards immediately be drawn in the new location.

Any ideas how to solve this problem? thanks

I think part of the answer I need to know is how to remove the drawing object created by sc.AddAndManageSingleTextUserDrawnDrawingForStudy() when a study is hidden
Date Time Of Last Edit: 2020-12-30 17:21:43