Using Button Styles

Generate/buttonstyles palette button1.gif

Access Styles - Button from the Objects palette or from a custom palette or custom menu that you have configured with the Styles - Button tool. (Also available: Styles - Field, Styles - Combo Box)


Use Styles - Button to create a set of button properties (a style), and then to draw buttons with those properties on your page. Since all styles are restored whenever you open the styles window, you can use this feature to create consistent object types from book to book.


To create a style:

  1. Click the Add New button.

  2. Enter a style name when prompted.

  3. Define the style settings in the Button Styles dialog box by setting the available properties. You can also set the style properties to those of a selected button on your page using the Set From Selected Button button.

  4. Select the Update button to save your changes!


To insert a button based on a style:

  1. Choose a style in the Style Settings list.

  2. Click the Draw button.


    You may set a user property that will be set for each button you create. To do so, fill in the Property Name and Property Value fields. See Adding a User Property to a Style for more information.


    Note: Updating a style in this window does NOT update any instances of that style that have already been created.


    Note: you can collapse this dialog by clicking on the collapse graphic (Generate/collapseBtn.gif) at the top of the screen and then expand it again by clicking the expand graphic (Generate/expandBtn.gif).


    Click on the window elements to learn more:




    Screen elements:

    Add New button

    BorderStyle selection



    Caption Position

    Choose Normal Graphic

    Choose Shared Script

    Close button

    Delete button

    Draw button

    DrawDirect box

    Fill and Stroke Colors

    Font selections

    Help button

    Highlight box

    Name field

    Property Name

    Property Value

    Rename button

    Sample button

    Set from Selected button

    Style Settings list

    Transparent box

    Update button