Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Max - property of object PmFormItemInt

Description:
Maximum value.
Syntax:
Max As Long
Calling:
Set the propert when the item is created:
oFormItem = oForm.CreateItem("int", "Id", "Title", "Min:0;Max:255;");
Writing the value:
oFormItem.Max = 255;
Reading the value:
nMax = oFormItem.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 Empty (for VBScript) or null (for JavaScript). Assigning such value brings the property to status "not set".
 
This property is also functional for Web Panels. It is not functional in InternetExplorer8 and lower.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice