BodyHeightMode - property of object PmFormItem

Changing the height of form item body height.

The body of form item is the area where the item value is displayed. For example for PmFormItemString is the area for text input.

BodyHeightMode As String
Setting the propert when the item is created:
oFormItem = oForm.CreateItem("string", "Id", "Title", "BodyHeightMode:resize;");
Writing the value:
oFormItem.BodyHeightMode = "resize";
Reading the value:
val = oFormItem.BodyHeightMode;
const (default) - The height will be constant and will not by affected by changing the form window size.
resize - The height will be changed by changing the size of form window.

This value cannot be set for item: PmFormItemInt, PmFormItemFloat, PmFormItemBool, PmFormItemEnum, PmFormItemSepar("Subtype:line;").

Property access for read and write.

It is possible to write into this property only if the PmForm window has not been opened yet.

This property is also functional for Web Panels. It is not functional in InternetExplorer8 and lower.

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