Hello guys,
I would like to write an code to change automatically the structure label style while moving the mouse. I have set two labels styles: left and right. The label style would be set according the structure position: left style at left structure side and right style at right structure side.
[SEE ATTACHMENT]
Nowadays I need to position it manually and the change the label style property (see the screencast below). But we can have thousands of structures and I would like to do it more dynamically.
SCREENCAST:
http://autode.sk/2bKW57x So, how can I get the labels move events, change their styles while moving it and show this results also while moving? I already know the code to determine when it should be left or right style but, again, not dynamically.
Thanks a lot,