Skip to main content

TdxPrintStyleManager.BeginUpdate Method

Disables events generation.

Declaration

procedure BeginUpdate;

Remarks

The BeginUpdate method is called before changing the list of available print styles. It prevents generation of the OnChangeCurrentStyle and OnStyleListChanged events. Make certain to call the EndUpdate method after calling the BeginUpdate method. Every call of the BeginUpdate method increases the internal counter (the UpdateCount property value) by one. Every call of the EndUpdate method decreases it by one. The above events can be fired only when the internal counter is 0.

See Also