I’m trying to modify the MBS Chartdirector squareameter so it doesn’t draw a new chart every time I update the value to be displayed. I’m probably missing something very basic. The demo uses a method called CreateChart that starts with:
dim w as new PicWindow
This method creates a new window with each call, so I have been trying to figure out how to make w public, so it only needs to be created once, and I can than change what it displays, rather than create a new window every time.
The code does not recognize w when I make it a public property with type PicWindow in App. The code stops at the first call to a w property with a nil object exception.