Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Max - property of object PmfNumber

Description:
Maximum value.
Syntax:
Double Max
Calling:
Setting the propert when the object is created:
If integer:
oNumber = oForm.CreateItem("number", "Id", "Title", "Min:-6;Max:3;");
If real number:
oNumber = oForm.CreateItem("number", "Id", "Title", "Subtype:float;Min:-6.25;Max:3.14;");
Writing the value:
oNumber.Max = 3;
Reading the value:
nMax = oNumber.Max;
Note:
Property access for read and write.

When value is being entered into the form, the system tests the value and compares it to this maximum that cannot be exceeded.

 
If the property is not set, then the returned value is: null for JavaScript or Empty pro VBScript. Assigning such value brings the property to status "not set".
 
This property is also functional in Web panels.
See also:

History:
Pm8.03.08: Created
PROMOTIC 9.0.8 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice