A newer version of Max is available. Click here to access the latest version of this document.

Styles

Max lets you define styles that you can use as you patch; you can standardize things like the look of user interface objects, font sizes and formats for comments, and even the look of max objects. You can apply a style to a specific Max patch, create your own personal library of styles to be applied as you patch, or make use of "factory styles" that come with Max. You can also use styles in connection with Max templates to create your own unique default patching environment.

Styles are created and managed using the Format palette.


Applying a style

  • Click to select a Max object. Click on the style menu on the left-hand side of the Format palette toolbar to show the style menu.

The style menu lets you choose from styles you have created and added to your own Max library (available using the Library tab), styles defined in the current patcher (which will be listed just below the Library tab), or from Max Factory Styles (located at the bottom of the drop-down menu).

  • Choose any of these styles from the pull-down menu. The menu will display the current style, and that style will be applied to your object.


Creating a new style

  • Click to select a Max user interface object Using the Format palette or the object Inspector, make your desired changes to the object. Click on the style menu on the left-hand side of the Format palette toolbar and click on the style menu. Choose Define New Style from the pull-down menu. The style dialog will appear.

  • Type in the name of your style. When you hit a carriage return, the style will be created and be added to a list of patcher styles.

Adding a style to your library

  • Click to select a user interface object whose style you want to add to your library.
  • Click on the style menu and choose Copy <style name< to Library from the pull-down menu.

The style you have selected will now appear in the Library tab of the Style menu

Library styles can be found at ~/Documents/Max 7/Styles on a Macintosh, and %HOMEPATH%\Documents\Max 7\Styles on a Windows system.


Removing a style from your library

  • On your system, find the folder where your styles are located.

    Library styles can be found at ~/Documents/Max 7/Styles on a Macintosh, and %HOMEPATH%\Documents\Max 7\Styles on a Windows system.
  • Move the style file(s) you wish to delete to the trash and restart Max.

Modifying a style

  • Click to select a Max user interface object and use the Format palette to make your desired changes to the object. When you do, you will notice that a plus sign appears alongside the current style in the style menu to indicate that the style has been changed.

  • Click on the style menu on the left-hand side of the Format palette toolbar. Making changes in an object with a style applied to it will ungrey several menu options in the pull-down menu.

  • Choose Redefine to redefine the current style to match your changes.
  • Choose Revert to revert to the style you originally applied to the object.
  • Choose Rename to rename the style you originally applied to the object. When you choose this option, the style dialog will appear

  • Type in the name of your style. When you hit a carriage return, the style will be created and be added to a list of patcher styles.

  • Choose Clear Style to return the attributes of the object to their default state (precisely as if you had selected Set to Default Values from Max's Object menu).

See Also

Name Description
Patcher-level Formatting with the Format Palette Patcher-level Formatting with the Format Palette
The Format Palette The Format Palette