dynamic drawing
Posted: Mon Feb 17, 2020 6:19 am
I want to draw based on data.
If the PLC data informs the HMI, the machine has has 4groups of 6 modules with 2 lamps. The thing to draw might be a simple circle with a color bases on the status of the Lamp.
But the thing to draw also needs to be able to generate an on_click_event.
In delphi i would create instances of Tshape and assigning the properties based on the data.
I have no clue on how to start in iX. The C languages is not my concern but the lack of a canvas property or surface to dynamicly create components on is.
Can someone point me in the right direction?
Regards,
Simon
If the PLC data informs the HMI, the machine has has 4groups of 6 modules with 2 lamps. The thing to draw might be a simple circle with a color bases on the status of the Lamp.
But the thing to draw also needs to be able to generate an on_click_event.
In delphi i would create instances of Tshape and assigning the properties based on the data.
I have no clue on how to start in iX. The C languages is not my concern but the lack of a canvas property or surface to dynamicly create components on is.
Can someone point me in the right direction?
Regards,
Simon