CaptionPos
Sets the position of field captions relative to the field values for an entity record.
This property is normally used with the JavaScript Enumerator object.
Values
This property can take one of the following values:
- 1. Places the field captions above the field values.
- 2. Places the field captions to the left of the field values.
- 3. Places the field captions to the left of the field values;
field captions and values are aligned to the left. - 6. Places the field captions to the left of the field values;
field captions are aligned to the right;
field values are aligned to the left.
Examples
r = CRM.FindRecord('Company','Comp_companyid=30');
CompBlock = CRM.GetBlock('CompanyBoxLong');
eEntries = new Enumerator(CompBlock);
while (!eEntries.atEnd())
{
y = eEntries.item();
y.CaptionPos = 6;
eEntries.moveNext();
}
CRM.AddContent(CompBlock.Execute(r));
Response.Write(CRM.GetPage());
Places the field captions to the left of the field values;
Field captions are aligned to the right, field values are aligned to the left.