OverviewExamples
DlgListBox.SetUpdate(CTRL_LIST_BOX, false);
Sets the list box control with control id "CTRL_LIST_BOX" to not update.
DlgListBox.SetUpdate(CTRL_LIST_BOX, true);
Sets the list box control with control id "CTRL_LIST_BOX" to update.
DlgListBox.SetUpdate(nControlID, false);
for count = 1, 10 do
DlgListBox.InsertItem(nControlID, -1, "Inserted Item " .. count);
end
DlgListBox.SetUpdate(nControlID, true);
This example disables updating of the list box control whose control id is stored in the variable "nControlID", adds ten items, and enables updating.
See also: Related Actions