TextColor - property of the PmfString object
Description:
The property returns or sets the color of the text in the value entry window of the
PmfString object.
Values:
RGB String (represents a color) is written in the form
"#RRGGBB".
Note:
Property access
for read and write.
This property is also functional in
Web panels.
Example:
JavaScriptSelect and copy to clipboard
var oString = oForm.CreateItem("string", "IdStr1", "Title", "TextColor:#0000ff;Value:text;");
oString.TextColor = "#ff0000";
// Writing into the property
var sTextColor = oString.TextColor;
// Reading from the property