1561
Screen designer tips and tutorials / Re: newbie help with button
« on: November 01, 2018, 05:56:54 AM »
Following the suggestion by Rich, if you add a new screen button then on the button press the following button code will half the value shown in the X axis DRO half it and then write the new value back to the X axis DRO.
Tw=GetOEMDRO(800)
Call SetOEMDRO(800,Tw/2)
Tweakie.
Tw=GetOEMDRO(800)
Call SetOEMDRO(800,Tw/2)
Tweakie.