Type | Description | |||
Freeze as Boolean | A Boolean expression that specifies whether the control' events are froze or unfroze |
Purpose:
Use Case:
Example Scenario:
control.FreezeEvents(True) // Stop event processing // Perform multiple changes to the control control.AddItem("Item 1") control.AddItem("Item 2") control.AddItem("Item 3") control.FreezeEvents(False) // Resume event processing
Without freezing the events, the control might trigger its event handler each time an item is added. Freezing prevents that, ensuring that the control remains "quiet" during updates.
Benefits: