271
Mach Screens / Re: Half the DRO
« on: February 12, 2013, 02:32:29 PM »
that made a whole lot of sense as i read that. just use my user DRO
Thanks
Thanks
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi Kenneth
if you just want to display the half of a DRO value when a button is clicked, you could try the following:
place your DRO for holding the value / 2, give it an user defined id e. g. 1500
place a button, double click "Function" in the propertybox of MachScreen , select "Execute Basic-Script", double click the value field in the "Execute code" line
EDIT:
value = GetOEMDRO(800) ' e.g X POS
SetUserDRO(1500, value / 2)
exit the editor File -> use data and close
save your screenset
Klaus