SAT/DL Toolbar Styles
S@
Home SATGUI SATSHELL SATFORM SATFILTER SATREPORT SATMYSQL License Download Examples Contact

Pre-defined Toolbar Styles

The toolbars shown on this page where created using the following SAT/DL command:

addToolbar {style back home {} pen disk trash {} query}

In this case, braces are not required around the icon names as no actions/options are being specified.

StyleToolbar
flat
groove
raised
style1
style2
style3
style4
style5
style6
style7
style8

Using Style Definitions to Create Toolbar Styles

Style Definitions can be used to create custom styles and/or vertically oriented toolbars.

To create a custom style: Choose the pre-defined style closest to the required style, and specify values for the options which differ from the pre-defined style to create the desired effect.

Format:

style(style,orient,size,position,button,separator,border,underline)

NameOptionsDescriptionDefault
styleflat/groove/raised/1-9Pre-defined styleMandatory
orienthorizontal/verticalToolbar orientationhorizontal
sizefill/fitFill width/height of window -or- fit to size of buttonsfill
positionleft/right/top/bottomPosition of underlineAs for specified style
buttonflat/groove/raised/ridgeButton relief styleAs for specified style
separatorflat/groove/raised/ridgeSeparator relief styleAs for specified style
borderflat/groove/raised/ridgeBorder relief styleAs for specified style
underlineflat/groove/raised/ridgeUnderline relief styleAs for specified style

Examples:

Style DefinitionDescription
style(flat)Same as "flat" style.
style(5,vertical)"style5" with "vertical" orientation.
style(5,,fit)"style5" with border which "fits" to the size of the contained buttons.
style(flat,,,,,,,ridge)"flat" style toolbar with a "ridge" underline.

NOTE: The toolbar will size automatically to fit different sized icons.


Copyright © 2003 Adrian Davis.