4 Replies Latest reply on Apr 24, 2017 9:58 AM by frankee

# Can't snap objects to grid at whole numbers, X=1cm Y=1cm? Always get a decimal location.

I like to work with simple whole numbers. I can't snap objects to a position on the grid at whole numbers e.g. 1cm (centimeters)? I always get a decimal location with one exception: I can place an object at 0cm exactly.  Removing the header has no effect.  For example, if I wish to place a field at location X=1cm and Y=1cm by attempting to snap, instead it snaps to a location of X=0.988 and Y=0.988  No matter where I drag the object it never lands on a whole number location.  My grid is set at 1 cm spacing (I've tried other whole numbers also) with both the guides and dynamic guides turned off.

• ###### 1. Re: Can't snap objects to grid at whole numbers, X=1cm Y=1cm? Always get a decimal location.

Try clicking the units until you get points. You should now be able to work with whole numbers. I suspect that inches and centimeters approximate points.

• ###### 2. Re: Can't snap objects to grid at whole numbers, X=1cm Y=1cm? Always get a decimal location.

This looks like a bug, that snap to only "decimal in pt" position.

• ###### 3. Re: Can't snap objects to grid at whole numbers, X=1cm Y=1cm? Always get a decimal location.

I don't know whether the other measures approximate points, as suggested by Phil, but certainly the underlying intent in FM is to allow very small adjustments—one pt for points; 0.1cm (in other words 1mm) for centimetres; 0.014in for inches. If you draw a box 1cm x 1cm and then convert that to points you get a box that is 28.346pts square; then convert it to inches and it is 0.394in square. Make of that what you will. Needless to say, my own practice is to work only in points.

• ###### 4. Re: Can't snap objects to grid at whole numbers, X=1cm Y=1cm? Always get a decimal location.

I appreciate everyone's responses!  After trying points and inches and using a more coarse grid setting, I found it works in the Windows version of Filemaker 15.   Changing the ruler to points and the major grid spacing to 72 and minor steps to 2, and with no header or footer to interfere, if you drag an object down the left edge (Y direction movement only) you will note that Y axis moves from these points (0, 14, 36, 50, 72).  One would expect the space to be evenly divided in 1/4 unit increments of 18 points.  Maybe it is setup that way so that you can align the bottom edge of the object instead?   At least with points or inches you can actually land on the whole units but the grid isn't diving into four even divisions. Thanks everyone for the community help. At least now I have a work-around solution.  I think there are bugs here and would like to report them. Since I'm new to the community I will need to look up how to report the centimeter unit and the minor grid steps issues as potential bugs.