Sign in Join
FPDoc Onlineexperiment

UnlockScreenUpdate procedure

In unit video

Unlock screen update.

Declaration

pascal
procedure UnlockScreenUpdate

Description

UnlockScreenUpdate decrements the screen update lock count with one if it is larger than zero. When the lock count reaches zero, the UpdateScreen will actually update the screen. No screen update will be performed as long as the screen update lock count is nonzero. This mechanism can be used to increase screen performance in case a lot of writing is done.

It is important to make sure that each call to LockScreenUpdate is matched by exactly one call to UnlockScreenUpdate

For an example, see GetLockScreenCount.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.