dynamic drawing

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
Posts: 5
Joined: Mon Jan 27, 2020 7:26 am

dynamic drawing

Post by seoman »

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?

User avatar
Russ C.
Posts: 201
Joined: Thu Nov 16, 2017 3:32 pm

Re: dynamic drawing

Post by Russ C. »

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.
(205.93 KiB) Downloaded 31 times
Best regards,

(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB

Post Reply