Promotic
WikipediaLinkedInYoutubeTwitterFacebook

TitlePos - property of object PmFormItem

Description:
Position of displayed item name.
Syntax:
TitlePos As String
Calling:
Set the propert when the item is created:
oFormItem = oForm.CreateItem("string", "Id", "Title", "TitlePos:no;");
Writing the value:
oFormItem.TitlePos = "no";
Reading the value:
sPos = oFormItem.TitlePos;
Values:
left (default) - Displayed name will be to the left from the input.
right - Displayed name will be to the right from the input. This is so far functional only for PmFormItemBool.
no - The name will not be displayed and the inputbox will be expanded to the left to occupy its space.
Note:
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.

 
This property is not functional for item: PmFormItemSepar.
See also:
Example1:
The text input configurator will be displayed as multirow over the area.
oFormItem = oForm.CreateItem("string", "IdStr", "", "TitlePos:no;Multiline:1;");
Example2:
Checkbox type configurator will be displayed in order to keep the displayed name to the right.
oFormItem = oForm.CreateItem("bool", "IdBool", "Title", "TitlePos:right;");
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice