{"identifier":72386,"topic":"Properties","name":"grid","text":"<code> set <\/code>[<code>the<\/code>]<code> grid to <i>trueOrFalse<\/i> <br><br>\n\n <\/code>The<code> grid <\/code>property returns or sets whether HyperCard constrains the movement of many Paint tools to eight-pixel intervals. It corresponds to the Grid command in the Options menu (which appears when you select a Paint tool). <br><br>\n\n The default value is<code> false<\/code>. <br>\n","related":{"45965":"reset"},"examples":"set the grid to true","demo":"on gridDemo\n   setUpPaint\n   show bkgnd field \"demo field\"\n   displayMessage \"Click the mouse to continue...\" & return &\u00ac\n   \"Grid set to false\" & spaces(30) & \"Grid set to true\"\n   set <b>grid<\/b> to false\n   set dragspeed to 200\n   drag from \"20,110\" to \"165,250\"\n   wait 2 seconds\n   set <b>grid<\/b> to true\n   drag from \"265,110\" to \"410,250\"\n   set the cursor to arrow\n   wait until the mouseClick\n   domenu \"revert\"\n   hide bkgnd field \"demo field\"\n   choose browse tool\n end gridDemo\n <br><br>\n\n on setUpPaint\n   choose rectangle tool\n   set lineSize to 1\n   set multiple to true\n   set polysides to 4\n   show card picture\n   set centered to false\n   set filled to false\n end setUpPaint\n ","debug":{"9":["\rset [the] grid to t"]}}