PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview and principle
  • Handling the styles and the style book
  • Associating a style book with a modeling
  • Associating a style with an element
  • Refreshing the styles of a modeling according to the selected style book
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Modeling editor: Managing the styles
Overview and principle
The modeling editor proposes an advanced management of styles. This style management allows you to easily define and use preset styles for the objects of a flexible modeling.
The principle is straightforward:
  1. The style book: As soon as the style of an element is modified in a flexible modeling, a style book is automatically linked to the flexible modeling. This style book is a kind of "style sheet" for the flexible modeling. The file associated with the style book is a file named "Charter_<Modeling Name>.wsm". This file is saved along with the flexible modeling and it can be used by several models.
  2. During the first modification of the style of an element, several solutions are available:
    • Create a new style in the modeling: This option allows you to add a style into the style book. All the elements of the same type will use this new style.
    • Modify this element only: This option allows you to modify the selected element only. Therefore, this element is not linked to the style book.
  3. When modifying the style of an element found in the style book, several solutions are available:
    • Overload the style of the element: In this case, only the current element will be modified. The element will always be linked to the style defined in the style book and the evolutions of the style associated with the element will be automatically taken into account.
    • Create a new style: To do so, specify the name of the new style to create in the style book.
    • Modify the style in the style book: In this case, the modification will be applied to all the elements that use the same style.
    • Dissociate the element: In this case, the style modifications will be applied to the current element only. This element will no longer be linked to the style and it will not take the style changes into account.
  4. If several styles are associated with the same type of element, the style of the element can be selected via "Choose a style..." from the popup menu of the element.
Handling the styles and the style book

Associating a style book with a modeling

To associate a style book with a modeling:
  1. Select "Modeling .. Select a style book".On the "Modeling" pane, in the "General" group, expand "Style book" and select "Select a style book".
  2. In the description of the modeling, select the style book that will be used.

Associating a style with an element

To associate a style with an element:
  1. Select the element.
  2. Select "Choose a style..." from the popup menu.
  3. Select the requested style and validate.

Refreshing the styles of a modeling according to the selected style book

To refresh the styles of a modeling according to the selected style book, select "Modeling .. Refresh the styles from the style book".To refresh the styles of a modeling according to the selected style book, on the "Modeling" pane, in the "General" group, expand "Style book" and select "Refresh the styles from the style book" .
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment