Update cookies preferences
Promotic

TitleFont - property of the PmForm object

Description:
Font of the Title area of the Pmf object.
If this property is not set, then the default value is the font specified in the "Use different font in system windows" configurator.
The default value is "normal normal 400 11px 'Microsoft Sans Serif'"
From this property the font value is inherited by the $root object (PmfLayout).
Syntax:
String TitleFont
Values:
font-style font-variant font-weight font-size font-family - Text string in the CSS format.
inherit - The property takes its value from the parent object
Note:
Property access for read and write.
 
The property returns or sets font as a text string in the CSS format.
Changing the property value in runtime does not change the size of the Pmf object or the size of its subareas.
This property is also functional in Web panels.
Example:
Setting and reading font in the CSS format.
JavaScriptSelect and copy to clipboard

oForm.TitleFont = "normal normal 400 13px 'Arial'";   // Writing into the property
var sTitleFont = oForm.TitleFont;   // Reading from the property
oForm.TitleFont = "inherit";   // The property takes its value from the parent object

History:
Pm9.00.20: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.