TitlePos - property of the PmfObject object
Position of the Title area of the Pmf object.
left (default) - Displayed name will be to the left from the input.
- Displayed name will be to the right
from the input. This is functional so far only for PmfBool
- The name will not be displayed
and the inputbox will be expanded to the left to occupy its space.
This value may not be set if in the CreateItem
method the sTitle
parameter is not set (or is set to null
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 in Web panels
This property is not functional
for object: PmfSepar
var oString = oForm.CreateItem("string", "IdStr1", "Title", "TitlePos:no;");
var sTitlePos = oString.TitlePos;
// Reading from the property
oString.TitlePos = "no";
// Writing into the property
The text input configurator will be displayed as multiline over the area.
var oString = oForm.CreateItem("string", "IdStr", "", "TitlePos:no;Multiline:1;");
Configurator of the checkbox type will be displayed in order to keep the displayed name to the right.
var oBool = oForm.CreateItem("bool", "IdBool", "Title", "TitlePos:right;");