ComboBox.beginUpdate

Overview | Methods | This Package | All Packages

ComboBox.beginUpdate

Maintains performance while items are added to the combo box one at a time by preventing the control from painting until the endUpdate method is called.

Syntax

public final void beginUpdate()

Remarks

The preferred way to insert items is to use the setItems method to add an array of items to a combo box at once. However, if you want to add items one at a time, use this method to prevent the control from painting during these operations. Call the endUpdate method when all the items have been added to the combo box so that the control can resume painting.