|add a listener to a diagram element [message #1726631]
||Tue, 15 March 2016 09:26
| Alx Hvx
Registered: March 2016
Hi everybody, |
For my project I have to listen to an element of a diagram an do some actions when the user clic or modify something on it.
For exemple when a field of an element is changed I want to automaticly change the value of another field. Do you know how to do that ?
Another thing I need to do (more complicated I think) is to get the layout position of an element (x and y) on the diagram and store those values on a field of it. For exemple if I drag the element on the diagram from position x=50, y=50 to x=100, y=100 I need that field of this element to automaticly change to x=100 and y=100.
I tried to modify the .aird file but it makes the diagram crash.
Is this something possible to do with Sirius ?
Thank you !
[Updated on: Wed, 16 March 2016 08:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.38814 seconds