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
dynamic drawing
Re: dynamic drawing
Here is an example project that allows for drawing objects dynamically.
Here is a link with an idea to detect click events on objects that are drawn dynamically:
https://stackoverflow.com/questions/127 ... wn-graphic
If you would like, we can get on a call and go over iX Developer and answer any questions you have so far, and we can go over some best practices and functionality of it. Our support phone number is in my signature. Or you can email us using the contact us link.
Here is a link with an idea to detect click events on objects that are drawn dynamically:
https://stackoverflow.com/questions/127 ... wn-graphic
If you would like, we can get on a call and go over iX Developer and answer any questions you have so far, and we can go over some best practices and functionality of it. Our support phone number is in my signature. Or you can email us using the contact us link.
- Attachments
-
- iX_DrawingSouris.zip
- (205.93 KiB) Downloaded 533 times
Best regards,
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us