JavaScript
A5.ListBoxsetLayout Method
Syntax
A5.ListBox.setLayout(layout[,keepValue])
Arguments
- layoutstring
The name of the layout to show in the list.
- keepValueboolean
Whether or not to keep the previous value of the list, or reset it.
Description
Change the currently used layout.
Example
// To get a pointer to the A5.ListBox class see {dialog.object}.getControl // assume lObj is a pointer to an instance of the A5.ListBox class lObj.setLayout('sub1'); // set the current layout to the layout named "sub1"
See Also