Many thanks to you! It worked it out to .222 sets a pixel perfectly to a 1/16th of an inch.
There are two fields. One field is where you type in "Inches" and this field is processed by:
Code: Select all
put fld "Inches" / 0.222 into Hloc
multiply Hloc by 16
Code: Select all
put fld "16ths" / 0.222 into HlockB
set the left of graphic "Box" to Hlock + HlockB
Is there a way to do this that prevents the user typing in a value over 16?
Thanks again for all the great help on this forum.
Bidge