Format - property of the PmfBool object
Description:
The property returns or sets the format of the value that will be displayed in the object.
Values:
Object data type - Reference to the
PmFormat object.
This object enables formatting of the
PmfBool object value according to the specified format.
null data type - The
PmFormat object is not set.
The value of the
PmfBool object will not be formatted.
Note:
Property access
for read and write.
This property is also functional in
Web panels.
The formatting string can also be entered in the
sProps parameter of the
CreateItem method.
Not all format string keys are supported at this moment - for example the keys
LTxt:ss and
RTxt:ss.
Example:
JavaScriptSelect and copy to clipboard
oBool.Format = Pm.CreatePmFormat("Type:Bool;");
// Writing into the property
oBool.Format = "Type:Bool;";
// Writing into the property
var oFormat = oBool.Format;
// Reading from the property
oBool.Format = null;
// Cancels the formatting of the value of the PmfBool object