I’ve been looking at your excellent sample programs and trying to quickly find out where to “dig deeper” into this API and object model.
The drawing in the InstrumentDemo project, specifically that represented on the “Factory” tab, seems close to what I am hoping to achieve.
Is there an example somewhere where a drawing like this gets built according to some data?
factoryLayer.Identifier = "Factory"
Dim tank1 As Tank = New Tank()
tank1.Bounds = New RectangleF(120, 50, 70, 100)
tank1.Value = 900<span ="Apple-tab-span" style="white-space:pre"> </span>'something more data-driven here ?
factoryLayer.Add(tank1)
I would like to have 2 visible “hot spots” in a tank object (one near each end of the cylinder). I would like to know how to have a click or double-click event on one of these “hot spots” result in a new “window” or “large tooltip” with some associated data shown in this new “object” something like this:
keyword-X: value of X
keyword-Y: value of Y
If someone could point me in the next best direction for the scenario above it would help me a lot.