Creating and Using Stylesheets

Description

Perhaps you find it astonishing to see that a new button sketched onto the CustQueryReport form has all the attributes of the other buttons, including the underline property set by the OnFlyover and OnFlyoverLeave events. If you right click on a button and select Styles, the following menu appears.

images/AL_form_custqueryreport_button_default_style.gif

In this case the button inherits the Default style associated with the CustQueryReport form.

Procedure: Investigating the Alphasports Stylesheet

The following procedure assumes that you have opened the form in the Form Editor.

  1. Right click the form's background and select Stylesheets to display the Stylesheets dialog box.

    images/AL_form_custqueryreport_stylesheets.gif
  2. Click the Manage Styles button.

  3. Expand the Button styles and select "Default".

  4. Click the Properties tab.

  5. Expand "Font" and select "Underline".

    images/AL_form_custqueryreport_manage_styles.gif

The underline attribute is normally turned off (as the "False" value implies). The developer can edit most form and control properties.

See Also