Chapter 11. Working with Objects in Layouts

Whether it’s text, a field, a field name, or a graphic, FileMaker treats them all as separate objects that can be selected, moved, rearranged, and grouped. Most of these functions reside under the Arrange menu, which appears only when you’re in Layout mode. These objects also can be graphically embellished with shading, borders, and fills via the tools in the Layout status area. For more information on using graphics with objects, see Working with Graphics on page 200.

While FileMaker makes it easy to move individual objects around a layout, it also allows you to group objects and then treat them as a single object. By creating groups of groups, you can organize pieces of a layout into units that speed your work.

By default, FileMaker displays objects in the order they were created, with the most recent atop (or in front of) the earlier objects. Sometimes in designing a layout, it’s useful to stack objects atop each other to create a special effect, such as the appearance of a three-dimensional object. While each object remains a separate object, rearranging the stack order changes the overall appearance.

To make it easier to build layouts, FileMaker comes with built-in rulers, T-Squares, and grids. For more information, see Using Layout Guides on page 178.

Working with Objects in Layouts Tip

  • You may find it faster when arranging and grouping objects to use FileMaker’s Arrange toolbar (Figure 11.1). To turn it on, choose View > Toolbars > Arrange.

    Using the Arrange toolbar, which you turn on by choosing View > Toolbars > Arrange, can speed your layout work.

    Figure 11.1. Using the Arrange toolbar, which you turn on by choosing View > Toolbars > Arrange, can speed your layout work.

To move an object within the same layout:

  1. Switch to Layout mode (To move an object within the same layout: in Windows, To move an object within the same layout:To move an object within the same layout: on the Mac), then select the object by clicking on it with your cursor. Keep pressing your cursor and drag the object to its new location in the layout. A set of dotted lines marks the object’s position as you drag it (Figure 11.2).

    To move an object within a layout, click on it and drag it. A dotted outline of the object appears as you move the object.

    Figure 11.2. To move an object within a layout, click on it and drag it. A dotted outline of the object appears as you move the object.

    If you want to ensure that the object only moves horizontally (or vertically), hold down To move an object within a layout, click on it and drag it. A dotted outline of the object appears as you move the object. as you drag it.

  2. Once you put the object where you want it, release the cursor (Figure 11.3). The object will now appear in the new location within the layout.

    Once you’ve dragged an object to where you want it, release the cursor.

    Figure 11.3. Once you’ve dragged an object to where you want it, release the cursor.

Once you’ve dragged an object to where you want it, release the cursor. Tip

  • While the field moved in the above example, the “Notes” field label did not. That’s because the label is a separate object. While you can move more than one object at a time by Tip-clicking on several objects before dragging them, grouping such objects often makes more sense because things like field labels automatically tag along when you move a field. See To group objects on page 173.

To move an object to another layout:

  1. Switch to Layout mode (To move an object to another layout: in Windows, To move an object to another layout:To move an object to another layout: on the Mac), then select the object by clicking on it with your cursor.

  2. Choose Edit > Cut (To move an object to another layout: in Windows, To move an object to another layout:To move an object to another layout: on the Mac).

  3. Switch to the other layout and choose Edit > Paste (To move an object to another layout: in Windows/To move an object to another layout:To move an object to another layout: on the Mac).

  4. Once the object appears in the layout, use your cursor to move it exactly where you want it.

To copy an object:

  1. Switch to Layout mode (To copy an object: in Windows, To copy an object:To copy an object: on the Mac), then select the object by clicking on it with your cursor.

  2. Choose Edit > Duplicate (To copy an object: in Windows, To copy an object:To copy an object: on the Mac).

  3. Use your cursor to move the duplicated object to where you want it.

To delete an object:

  1. Switch to Layout mode (To delete an object: in Windows, To delete an object:To delete an object: on the Mac), then select the object by clicking on it with your cursor.

  2. Press To delete an object:. If you deleted the wrong object, choose Edit > Undo (To delete an object: in Windows, To delete an object:To delete an object: on the Mac).

Grouping objects

By default, FileMaker treats each item added to a layout as a separate object. But sometimes there can be great advantage to having multiple objects treated as a single object (grouping). For example, if you use labels for fields, grouping the label with the field ensures that they stay together when you move a field within a layout. Similarly, it can speed up your layout work to group related topic fields and then move them to a new spot with a single click-and-drag.

To group objects:

  1. Switch to Layout mode (To group objects: in Windows, To group objects:To group objects: on the Mac), then select the first object by clicking on it with your cursor.

  2. Hold down To group objects: while you continue clicking on the objects you want to group together (Figure 11.4).

    To select a field and its label for grouping, press and click on both objects.

    Figure 11.4. To select a field and its label for grouping, press To select a field and its label for grouping, press and click on both objects. and click on both objects.

  3. Choose Arrange > Group or use your keyboard: To select a field and its label for grouping, press and click on both objects. in Windows, To select a field and its label for grouping, press and click on both objects.To select a field and its label for grouping, press and click on both objects. on the Mac (Figure 11.5). The previously individual objects now become a single object (Figure 11.6).

    After you’ve selected several objects, choose Arrange > Group.

    Figure 11.5. After you’ve selected several objects, choose Arrange > Group.

    Once they’re grouped, the field and its label become one object, as indicated by the single set of handles at the object’s corners.

    Figure 11.6. Once they’re grouped, the field and its label become one object, as indicated by the single set of handles at the object’s corners.

Once they’re grouped, the field and its label become one object, as indicated by the single set of handles at the object’s corners. Tip

  • You can create subgroups within larger groupings. For example, create a group of just two objects (a field label with its field) before grouping that field with other fields. That way, if you later decide to ungroup the fields, you’ll still have the field name grouped with its field.

To ungroup objects:

  1. Make sure you’re in Layout mode (To ungroup objects: in Windows, To ungroup objects:To ungroup objects: on the Mac), then select the objects you no longer want grouped by clicking on each as you hold To ungroup objects:.

  2. Choose Arrange > Ungroup (Figure 11.7) or use your keyboard: To ungroup objects:To ungroup objects:To ungroup objects: in Windows, To ungroup objects:To ungroup objects:To ungroup objects: on the Mac. The selected objects will no longer be grouped (see Tip for exceptions).

    To break a grouped object back into individual objects, select it and choose Arrange > Ungroup.

    Figure 11.7. To break a grouped object back into individual objects, select it and choose Arrange > Ungroup.

To break a grouped object back into individual objects, select it and choose Arrange > Ungroup. Tip

  • If you have created subgroups within a group, you’ll have to repeat the Ungroup command at each level to fully break up those groupings.

To lock layout objects:

  1. Make sure you’re in Layout mode (To lock layout objects: in Windows, To lock layout objects:To lock layout objects: on the Mac), then select the pieces of the layout you want to protect from accidental changes by holding down To lock layout objects: as you click on each object.

  2. Choose Arrange > Lock (Figure 11.8) or use your keyboard: To lock layout objects:To lock layout objects:To lock layout objects: in Windows, To lock layout objects:To lock layout objects:To lock layout objects: on the Mac.

    To protect against accidental changes to a layout, select the objects and choose Arrange > Lock.

    Figure 11.8. To protect against accidental changes to a layout, select the objects and choose Arrange > Lock.

To unlock layout objects:

  1. Make sure you’re in Layout mode (To unlock layout objects: in Windows, To unlock layout objects:To unlock layout objects: on the Mac), then hold down To unlock layout objects: as you click on the objects you want to unlock.

  2. Choose Arrange > Unlock (Figure 11.9) or use your keyboard: To unlock layout objects:To unlock layout objects:To unlock layout objects:To unlock layout objects: in Windows, To unlock layout objects:To unlock layout objects:To unlock layout objects:To unlock layout objects: on the Mac.

    To unlock a layout object—enabling others to easily change it—choose Arrange > Unlock.

    Figure 11.9. To unlock a layout object—enabling others to easily change it—choose Arrange > Unlock.

To unlock a layout object—enabling others to easily change it—choose Arrange > Unlock. Tip

  • When creating groups, if one object is locked, all the grouped objects will become locked as well.

To change the stack order of objects:

  1. Switch to Layout mode (To change the stack order of objects: in Windows, To change the stack order of objects:To change the stack order of objects: on the Mac), then select the object you want to move by clicking on it with your cursor.

  2. From the Arrange menu, choose one of four commands: Bring to Front, Bring Forward, Send to Back, or Send Backward. The closer an object lies to the front (or top) of the stack, the more of it will be visible. By selecting and moving various objects, you can manipulate the arrangement to your satisfaction (Figure 11.10).

    A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back.

    Figure 11.10. A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back.

    • Bring to Front (A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back.A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back.A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back. in Windows, A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back.A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back.A Initially, the black square lies in the middle of the stack order. B Brought to the front. C Brought forward one layer from its initial position. D Sent back one layer from its initial position. E Sent to the back. on the Mac): Use this command to bring the selected object to the very front (or top) of the stack.

    • Bring Forward (Bring to Front ( in Windows, on the Mac):Bring to Front ( in Windows, on the Mac):Bring to Front ( in Windows, on the Mac): in Windows, Bring to Front ( in Windows, on the Mac):Bring to Front ( in Windows, on the Mac):Bring to Front ( in Windows, on the Mac): on the Mac): Use this command to bring the selected object forward one layer.

    • Send to Back (Bring Forward ( in Windows, on the Mac):Bring Forward ( in Windows, on the Mac):Bring Forward ( in Windows, on the Mac): in Windows, Bring Forward ( in Windows, on the Mac):Bring Forward ( in Windows, on the Mac):Bring Forward ( in Windows, on the Mac): on the Mac): Use this command to send the selected object to the very back (or bottom) of the stack.

    • Send Backward (Send to Back ( in Windows, on the Mac):Send to Back ( in Windows, on the Mac):Send to Back ( in Windows, on the Mac): in Windows, Send to Back ( in Windows, on the Mac):Send to Back ( in Windows, on the Mac):Send to Back ( in Windows, on the Mac): on the Mac): Use this command to send the selected object back one layer.

Rotating objects

Because every field, label, and graphic within FileMaker is treated as an object, you’re free to rotate them to make a layout more compact, less cluttered, or just more eye-grabbing. FileMaker limits you to rotating objects in 90-degree increments. If you need more precise control, create the object within a true graphics program and then import it into FileMaker.

To rotate an object:

  1. Switch to Layout mode (To rotate an object: in Windows, To rotate an object:To rotate an object: on the Mac), then select the object you want to rotate by clicking on it with your cursor (Figure 11.11).

    To rotate an object, first select it while in Layout mode ...

    Figure 11.11. To rotate an object, first select it while in Layout mode ...

  2. Choose Arrange > Rotate (Figure 11.12) or use your keyboard: To rotate an object, first select it while in Layout mode ...To rotate an object, first select it while in Layout mode ...To rotate an object, first select it while in Layout mode ... in Windows, To rotate an object, first select it while in Layout mode ...To rotate an object, first select it while in Layout mode ...To rotate an object, first select it while in Layout mode ... on the Mac. The Rotate command moves an object 90 degrees clockwise (Figure 11.13).

    ...then choose Arrange > Rotate.

    Figure 11.12. ...then choose Arrange > Rotate.

    The Rotate command spins the object clockwise in 90-degree increments. Repeat the command to spin the object 180 and 270 degrees.

    Figure 11.13. The Rotate command spins the object clockwise in 90-degree increments. Repeat the command to spin the object 180 and 270 degrees.

The Rotate command spins the object clockwise in 90-degree increments. Repeat the command to spin the object 180 and 270 degrees. Tips

  • Repeat the Rotate command to continue spinning an object in 90-degree increments until it reaches the position you want.

  • If you prefer, press and hold your cursor on the selected object’s “handles”—the small black squares on its periphery—then rotate it directly.

Aligning objects

Your layout will be easier to read and look more professional if you vertically or horizontally align fields, labels, and groups of fields as much as possible.

To align objects:

  1. Switch to Layout mode (To align objects: in Windows, To align objects:To align objects: on the Mac), then select the objects you want to align by holding down To align objects: and clicking on them with your cursor.

  2. Choose Arrange > Set Alignment or use your keyboard: To align objects:To align objects:To align objects: in Windows, To align objects:To align objects:To align objects: on the Mac (Figure 11.14).

    To align selected objects, choose Arrange > Set Alignment.

    Figure 11.14. To align selected objects, choose Arrange > Set Alignment.

  3. When the Set Alignment dialog box appears, you can control the top-to-bottom and the left-to-right alignment of the selected objects (Figure 11.15). The Sample area in the window’s lower-left corner lets you see the effect of each combination.

    Use the Set Alignment dialog box to control the top-to-bottom and left-to-right relationships among several selected objects. The lower-left panel displays a sample of the chosen setting.

    Figure 11.15. Use the Set Alignment dialog box to control the top-to-bottom and left-to-right relationships among several selected objects. The lower-left panel displays a sample of the chosen setting.

  4. When you’re satisfied with the alignment, click OK.

Use the Set Alignment dialog box to control the top-to-bottom and left-to-right relationships among several selected objects. The lower-left panel displays a sample of the chosen setting. Tip

  • If you’re happy with the choices you’ve made in the Set Alignment dialog box, you can apply them to any selected objects without having to reopen the window simply by using the align command: Tip in Windows, TipTip on the Mac.

Using Layout Guides

FileMaker’s various layout guides are strictly optional but you’ll find that they make it much easier to create professional layouts. You can use them while you’re creating a layout or to go back and tidy up previous work. Here’s a quick rundown on how each guide functions:

Text Ruler: Provides a horizontal measure in inches, pixels, or centimeters (Figure 11.16).

The Text Ruler lets you choose your measurement units and includes icons for choosing fonts, alignments, and tabs.

Figure 11.16. The Text Ruler lets you choose your measurement units and includes icons for choosing fonts, alignments, and tabs.

Graphic Rulers: Provides horizontal and vertical rulers in inches, pixels, or centimeters (Figure 11.17).

The measurement units for Graphic Rulers, which aid horizontal and vertical placement of the selected object, can be changed via the Layouts menu.

Figure 11.17. The measurement units for Graphic Rulers, which aid horizontal and vertical placement of the selected object, can be changed via the Layouts menu.

Ruler Lines: Provides a matrix of horizontal and vertical dotted lines to help position layout objects. The matrix can be set in inches, pixels, or centimeters (Figure 11.18).

The Ruler Lines provide a visible matrix to help position layout objects.

Figure 11.18. The Ruler Lines provide a visible matrix to help position layout objects.

T-Squares: Provides an intersecting horizontal line and vertical line, which can be moved to guide the positioning of layout objects (Figure 11.19).

The T-Squares option provides a horizontal and a vertical line that extends across the entire layout—easing alignment of multiple objects.

Figure 11.19. The T-Squares option provides a horizontal and a vertical line that extends across the entire layout—easing alignment of multiple objects.

Object Grids: Provides an invisible grid whose measurement units can be adjusted. When Object Grids is on, layout objects “snap” to the nearest grid line.

Size Palette: Provides a set of number entry boxes that help you precisely position layout objects (Figure 11.20).

The Size Palette allows you to precisely position layout objects via the numeric entry boxes.

Figure 11.20. The Size Palette allows you to precisely position layout objects via the numeric entry boxes.

To use the Text Ruler:

  1. Make sure you’re in Layout mode (To use the Text Ruler: in Windows, To use the Text Ruler:To use the Text Ruler: on the Mac), then choose View > Text Ruler (Figure 11.21).

    If you’re in Layout mode, you can turn on the Text Ruler by choosing View > Text Ruler.

    Figure 11.21. If you’re in Layout mode, you can turn on the Text Ruler by choosing View > Text Ruler.

  2. Use the ruler or, if you have it turned on, the various text icons in the Text Formatting toolbar to adjust selected text as you desire. For more information on text formats, see Formatting Fields or Objects on page 189.

  3. To hide the ruler, choose View > Text Ruler again.

To use the Graphic Rulers:

  1. Make sure you’re in Layout mode (To use the Graphic Rulers: in Windows, To use the Graphic Rulers:To use the Graphic Rulers: on the Mac), then choose View > Graphic Rulers (Figure 11.22). To adjust the measurement units used, click the upper-left corner where the horizontal and vertical rulers meet to cycle through the choices: inches, centimeters, or pixels. For more information, see To change ruler and grid units on page 182.

    Once you’re in Layout mode, turn on the Graphic Rulers by choosing View > Graphic Rulers.

    Figure 11.22. Once you’re in Layout mode, turn on the Graphic Rulers by choosing View > Graphic Rulers.

  2. To hide the graphic rules, choose View > Graphic Rulers again.

To use Ruler Lines:

  1. Make sure you’re in Layout mode (To use Ruler Lines: in Windows, To use Ruler Lines:To use Ruler Lines: on the Mac), then choose View > Ruler Lines (Figure 11.23). To adjust the measurement units used, see To change ruler and grid units on page 182.

    To turn on the Ruler Lines while in Layout mode, choose View > Ruler Lines.

    Figure 11.23. To turn on the Ruler Lines while in Layout mode, choose View > Ruler Lines.

  2. To hide the rulers, choose View > Ruler Lines again.

To use T-Squares:

  1. Make sure you’re in Layout mode (To use T-Squares: in Windows, To use T-Squares:To use T-Squares: on the Mac), then choose View > T-Squares (Figure 11.24). To adjust the placement of the T-Square lines, click and hold your cursor, then drag the line where you want it (Figure 11.25).

    To turn on the T-Squares, choose View > T-Squares.

    Figure 11.24. To turn on the T-Squares, choose View > T-Squares.

    Adjust the placement of the T-Square lines by clicking on a line and dragging it.

    Figure 11.25. Adjust the placement of the T-Square lines by clicking on a line and dragging it.

  2. To hide the T-Squares, choose View > T-Squares again.

To use Object Grids:

  1. Make sure you’re in Layout mode (To use Object Grids: in Windows, To use Object Grids:To use Object Grids: on the Mac), then choose Arrange > Object Grids (To use Object Grids: in Windows, To use Object Grids:To use Object Grids: on the Mac) (Figure 11.26). To adjust the measurement units used and the fineness of the grid, see To change ruler and grid units on page 182.

    Choosing Arrange > Object Grids turns on an invisible set of lines to which new layout objects will “snap.”

    Figure 11.26. Choosing Arrange > Object Grids turns on an invisible set of lines to which new layout objects will “snap.”

  2. To turn off Object Grids, choose Arrange > Object Grids again.

To use the Size Palette:

  1. Make sure you’re in Layout mode (To use the Size Palette: in Windows, To use the Size Palette:To use the Size Palette: on the Mac), then select the object you want to position by clicking on it with your cursor.

  2. Choose View > Object Size (Figure 11.27).

    While in Layout mode, choose View > Object Size to reach the Size Palette.

    Figure 11.27. While in Layout mode, choose View > Object Size to reach the Size Palette.

  3. Once the Size Palette appears (Figure 11.28), make sure you’re working in the measurement units you prefer: inches, pixels, or centimeters. To adjust the palette’s measurement units, see To change ruler and grid units on the next page.

    The Size Palette provides details on the position—and dimensions—of a selected object.

    Figure 11.28. The Size Palette provides details on the position—and dimensions—of a selected object.

  4. Type in the measurements you want in the Size Palette’s number entry boxes. When you’re done, press The Size Palette provides details on the position—and dimensions—of a selected object. in Windows, The Size Palette provides details on the position—and dimensions—of a selected object. on the Mac. The object will be resized based on your entry.

The Size Palette provides details on the position—and dimensions—of a selected object. Tip

  • Use the Size Palette while click-dragging an object to position a layout object exactly where you want it. Just select your object, open the Size Palette, and click-drag the object while keeping an eye on the palette’s measurements.

Changing ruler and grid units

FileMaker lets you set the ruler and grid to measure the layout and its items in inches, pixels, or centimeters.

To change ruler and grid units:

  1. To change the units, choose Layouts > Set Rulers (Figure 11.29).

    Choose Layouts > Set Rulers to adjust the measurement units of Graphic rulers, Ruler lines, the Object Grids, and the Size Palette.

    Figure 11.29. Choose Layouts > Set Rulers to adjust the measurement units of Graphic rulers, Ruler lines, the Object Grids, and the Size Palette.

  2. The Set Rulers dialog box includes two pop-down menus (Figure 11.30). The top one sets the Units used by the Graphic rulers, Ruler lines, the Object Grids, and the Size Palette. The second pop-down menu, Grid Spacing, controls the fineness of the Object Grids’ mesh of horizontal and vertical lines. Make your adjustments to one or both pop-down menus and click OK.

    The Set Rulers dialog box includes two pop-down menus: one for ruler units and one for controlling the fineness of the Object Grids’ mesh.

    Figure 11.30. The Set Rulers dialog box includes two pop-down menus: one for ruler units and one for controlling the fineness of the Object Grids’ mesh.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.23.147