Framework:DefineStyle: Difference between revisions
From CoPlanner 10
Jump to navigationJump to search
No edit summary |
minor changes layout |
||
| (One intermediate revision by one other user not shown) | |||
| Line 26: | Line 26: | ||
|Color of the styles, can be also a variable | |Color of the styles, can be also a variable | ||
|} | |} | ||
This function belongs to [[:Category:Functions_-_client-side|client-side functions]]. | 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|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 11:42, 13 June 2022
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 |
| Style | Bold, italic, underline(BCU) |
| 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);