JavaScript

A5.ListBoxrefresh Method

Syntax

A5.ListBox.refresh([keepValue])

Arguments

keepValueboolean

Whether or not to keep the previous value of the list, or reset it.

Description

Refresh the list.

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.refresh(false); // force a reffresh of the list and do not keep the old value.

 Example: Refreshing a List Control in a UX Component

The following example shows how to refresh a List Control in a UX Component.

var listObj = {dialog.object}.getControl('MYLIST1');
listObj.refresh();

See Also