refreshEntries

refreshEntries(obj: Object);

The refreshEntries method of the ComboBox, ListBox, and Table class refreshes the list of entries when a collection is attached to the control. For the Table class, this method applies only to the current sheet of the table.

This method is equivalent to what happens when an update notification is processed. If the obj parameter has a non-null value, the display is refreshed so that the requested object is included in the visible portion of the list box or table.

For a combo box or list box, the listIndex property is set to the list entry for that object. For a table, the current row of the sheet is set to the row for that entry.

Calling this method discards any outstanding automatic notifications that would repeat the refreshing process. (It does not discard any future update notifications.)

You could use this method in the following situations.