VISUAL QUICKPRO GUIDE FileMaker Pro 7 Advanced FOR WINDOWS AND MACINTOSH [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

VISUAL QUICKPRO GUIDE FileMaker Pro 7 Advanced FOR WINDOWS AND MACINTOSH [Electronic resources] - نسخه متنی

Cynthia L. Baron, Daniel Peck

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

Formatting Elements as Buttons


FileMakers Button tool allows you to create a simple rectangular button and assign a command to it. But virtually any object on a layout can be formatted as a button (including fields). Creating a recognizable graphic for a custom button can help you quickly identify what the button does, and can make for a more professional, customized presentation (Figure 3.14).

Figure 3.14. This button makes it clear that youll leave the FileMaker program if you click it.

To use a graphic as a button



1.
Go to the layout where youd like to place a button. Go to Layout mode (Control+L/ Command+L). Follow the instructions in "To import graphics from a file" on page 33 for copying or inserting a graphic in Layout mode.

2 .
Select the graphic youve copied or inserted into your layout, and choose Format > Button (Figure 3.15).

Figure 3.15. To make any graphic into a button, choose Format > Button.

3.
When the Specify Button dialog box appears, choose the command in the list that you wish to assign to the button, then click OK.

Tips

When you choose a command for your button, the Options box on the right will display check boxes or a drop-down list (Figure 3.16) if there are more choices for you to make. Otherwise, the Options area will be blank.

Figure 3.16. The Specify Button dialog box has a scrolling list of button actions, and can offer various options, depending on the action chosen.

Enhance the flexibility of your buttons by using FileMakers new Get(ScriptParameter) function to use one script command in a variety of ways. See Chapter 9 for more information on how to do this.

One of the most helpful interface features allows you to use a field as a button. If you make the Name field a button that switches to an individual record layout, you can click a name and be switched directly to the details layout.

To make a field into a button



1 .
Go to the layout to which youd like to add a field button, and enter Layout mode (Control+L/Command+L).

2.
Click the field you want to make into a button.

3 .
Choose Format > Button.

4.
When the Specify Button dialog box appears, click Go to Layout (Figure 3.17) in the Navigation section of the scrolling list.

Figure 3.17. Selecting Go to Layout from the command list brings up a drop-down list of all the layouts in your current database.

5.
From the drop-down list in the Options section, choose the layout to which you want to switch, then click OK.

When you click the field button in Browse mode, the layout will switch and the data for the record you clicked will be displayed (Figure 3.18).

Figure 3.18. To switch to an individual record from a columnar layout, make one of the fields a button, then click on the field in Browse mode to go to the individual record.

[View full size image]

[View full size image]

Chapter 9 for more about attaching scripts to buttons.

If you would like to use some FileMaker graphics without having to create your own, refer to Appendix A, "FileMaker and Third-Party Tools" for information about commercially available button sets.

/ 227