DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE
#LEADING
Position title text at the left side of the border line
for left to right orientation, at the right side of the
border line for right to left orientation.
#TRAILING
Position title text at the right side of the border line
for left to right orientation, at the left side of the
border line for right to left orientation.
Constants Details
CENTER
Position title text in the center of the border line.
var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.CENTER,SM_TITLEPOSITION.TOP);
var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.DEFAULT,SM_TITLEPOSITION.TOP);
LEADING
Position title text at the left side of the border line
for left to right orientation, at the right side of the
border line for right to left orientation.
var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.LEADING,SM_TITLEPOSITION.TOP);
LEFT
Position title text at the left side of the border line.
var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.LEFT,SM_TITLEPOSITION.TOP);
RIGHT
Position title text at the right side of the border line.
var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.RIGHT,SM_TITLEPOSITION.TOP);
TRAILING
Position title text at the right side of the border line
for left to right orientation, at the left side of the
border line for right to left orientation.
var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.TRAILING,SM_TITLEPOSITION.TOP);