This code works fine:
Code: Select all
integer li_tool
li_tool = this.object.tools.add(23)
this.object.tools.items(li_tool).active = true
Code: Select all
this.object.tools.items(li_tool).series = this.object.series(0)
I have also tried a VB example:
Code: Select all
this.object.tools.items(li_tool).asSeriesBandTool.series = this.object.series(0)
How can I accomplish this?
Kind regards
Harald