ATTRIBUTE PALETTES (BOZZA) ------------------------------------------------------------------------------ Indice Argomenti 1. New template 2. Selecting a template 3. Edit a template 4. Rename the template 5. Deleting a template 6. Template usages 7. Template replace [graphic object] attribute templates: * [Paint] palette for outline/fill paint. * [Font] palette for texts. * [Stroke] palette for line styles. A [graphic object] can have its own custom attribute, but the usage of a templates provides great advantages: * Attributes have names, so they have means. * Quickly replace attributes along the [application]. So if the customer (for example) wants to replace the stop color of the items (not red, but blue) you have not to change every [animation] attribute, but you have only to edit the Stop color attribute in the palette. A new application has no template defined, you have to define them or you can [import] a [graphic window] or [library window] that include some templates. ((())) Example of palette in the [Paint dialog] 1. New template * Click a free (unused) template with the mouse; * click the Define button; * define the new attribute template; * give a name to the template; * press the Ok button. 2. Selecting a template * Click the desired template with the mouse, then click Ok button. 3. Edit a template * Click the template to be edited; * click the Define button; * change the attribute template; * press the Ok button. 4. Rename the template * Click the template to be edited; * click the Define button; * enter the new name of the template; * press the Ok button. 5. Deleting a template * Click the template to be deleted; * press the Delete button; * the [application] is looked for template usage * if usages are found they are displayed in a [cross reference result window] and the deletion is blocked. 6. Template usages This search function can find both template and custom attribute usage. * Click the template you want to look the [application] for usages; * press the Find button; * usages are displayed in a [cross reference result window]. 7. Template replace The replace can be performed on both templates and custom attributes. * Click the template you want to replace or define the custom attribute you want to replace with; * press the Replace button; * select the template (or the custom attribute) you want to replace with; * select if you want to replace in all [application] or in the current [window] or [editor View base].