Jump to content
uniGUI Discussion Forums


Popular Content

Showing content with the highest reputation on 08/14/19 in all areas

  1. 1 point
    Just save it on the Form and with every click you update it from 90 to 180 and so on..then update the JS code above to reflect the value. protected vDegrees: integer; On the button click: vDegrees := vDegrees + 90; -- you have to add some logic when it gets to 360 UniImage1.JSInterface.JSCode(#1'.el.query("img")[0].style.transform="rotate('+ vDegrees +'deg)";');