Setting Control Property Values from a script

Documentation home

 

See also: Accessing Control Properties from scripts

 

 

Horizontal Alignment Values

 

 

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

 

Vertical Alignment Values

 

 

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