Promotic
Login logon

ValueVisible - property of the PmfString object

Description:
The property returns or sets the visibility of the window for entering the value of the PmfString object.
Syntax:
Long ValueVisible
Values:
1 (default) - The window for entering the value is visible.
0 - The window for entering the value is not visible and its place is empty.
-1 - The window for entering the value is not visible and the following window of the object or the following object takes its place.
Note:
Property access for read and write.
 
This property is also functional in Web panels.
See also:
- PmfString (object)
- PmfString.Subtype (property)
Example:
Creates the PmfString object, in which the value entry window is hidden and only the color selection button is visible.:
JavaScriptSelect and copy to clipboard

var oString = oForm.CreateItem("string", "IdStr1", "Color", "Subtype:Color;Value:#30ccff;");
oString.ValueVisible = -1;   // Writing into the property
var nValVisible = oString.ValueVisible;   // Reading from the property

History:
Pm9.00.32: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences