Setting Control Property Values
from a script
See also: Accessing Control Properties from scripts
API based language examples:
controls.PANEL1.layout.hAlign
= "Center";
controls.PANEL1.layout.hAlign = null; // remove alignment
FPL examples:
set PANEL1.layoutProperties.HORIZONTAL_BOX.hAlign
= 'Center';
set PANEL1.layoutProperties.HORIZONTAL_BOX.hAlign = null; // remove alignment
API based language examples:
controls.PANEL1.layout.vAlign
= "Top";
controls.PANEL1.layout.vAlign = null; // remove alignment
FPL examples:
set
PANEL1.layoutProperties.HORIZONTAL_BOX.vAlign = 'Top';
set PANEL1.layoutProperties.HORIZONTAL_BOX.vAlign = null; // remove alignment