Framework:DefineStyle: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
D.harg (talk | contribs)
Angeglichen an das deutsch Wiki wegen Kursiv
D.harg (talk | contribs)
Angleich ans Deutsche Wiki
 
Line 15: Line 15:
|-
|-
|Size
|Size
|Size of the font
|Size of the font (no longer supported)
|-
|-
|Style
|Style

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.

Example of a defined style.

Result

Defines a style with font and backcolor.

Example

DefineStyle(style1,Microsoft Sans Serif,10,B,FFFFFF,Summen);