Hello guys,
I have a problem with the new release of TwinCAT HMI ( Not TwinCAT PLC HMI or visualization) , the problem is as follows :
1) drag a circle control from the toolbox (for simplicity)
2) try to handle the mouse click event so that if the mouse is clicked , the "fill color" property should change to red (for example)
the problem is that the area that lies outside the circle and inside the control border also (and always) responds to the event.
How can I come over that ?? it is not reasonable at all to respond to the event outside the circle... how can i get rid of that annoying border ? or even manipulate its shape ?
I tried to put numbers in the "border radius" property , yes the border shape changed but virtually , it seems to be that every thing MUST be put in a rectangular form.
Any help ... please !!
I have a problem with the new release of TwinCAT HMI ( Not TwinCAT PLC HMI or visualization) , the problem is as follows :
1) drag a circle control from the toolbox (for simplicity)
2) try to handle the mouse click event so that if the mouse is clicked , the "fill color" property should change to red (for example)
the problem is that the area that lies outside the circle and inside the control border also (and always) responds to the event.
How can I come over that ?? it is not reasonable at all to respond to the event outside the circle... how can i get rid of that annoying border ? or even manipulate its shape ?
I tried to put numbers in the "border radius" property , yes the border shape changed but virtually , it seems to be that every thing MUST be put in a rectangular form.
Any help ... please !!