Change tool | Rectangle text in code
Posted: Wed Oct 09, 2013 10:20 pm
I added 3 rectangles to my chart using the UI. Now, I want to modify the text at runtime. THIS doesn't seem to do anything:
I know I'm pointing to the right tools because when I put the above in debug.print lines, it shows the text as set via the UI.
So, what do I have to do to change the text at runtime?
Code: Select all
With TChart_3MoScheduled
.Tools.Items(0).asRectangle.Text = "$1,000"
.Tools.Items(1).asRectangle.Text = "$10,000"
.Tools.Items(2).asRectangle.Text = "$100,000"
End With
So, what do I have to do to change the text at runtime?