Framework:DefineStyle: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
Anpassung der Seite analog zum deutschen Wiki Eintrag |
Angleich ans Deutsche Wiki |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
|- | |- | ||
|Size | |Size | ||
|Size of the font | |Size of the font (no longer supported) | ||
|- | |- | ||
|Style | |Style | ||
|Bold, italic, underline( | |Bold, italic, underline(B,I,U) | ||
|- | |- | ||
|Color | |Color | ||
| Line 27: | Line 27: | ||
|} | |} | ||
This function belongs to [[:Category:Functions_-_client-side|client-side functions]]. The function has to be defined in the SpecialDefinition section of the mask. | This function belongs to [[:Category:Functions_-_client-side|client-side functions]]. The function has to be defined in the SpecialDefinition section of the mask. | ||
[[File:DefineStyle.png | [[File:DefineStyle.png|thumb|Example of a defined style.|alt=|none|1371x1371px]] | ||
==Result== | ==Result== | ||
Defines a style with font and backcolor. | Defines a style with font and backcolor. | ||
Latest revision as of 12:31, 3 March 2025
Function
DefineStyle(<Expression>,<Font>,<Size>,<Style>,<Color>,<Value>);
| Parameter | Description |
| Expression | Name of the style |
| Font | Name of the font |
| Size | Size of the font (no longer supported) |
| Style | Bold, italic, underline(B,I,U) |
| Color | Color of the font |
| Value | Color of the styles, can be also a variable |
This function belongs to client-side functions. The function has to be defined in the SpecialDefinition section of the mask.

Result
Defines a style with font and backcolor.
Example
DefineStyle(style1,Microsoft Sans Serif,10,B,FFFFFF,Summen);