[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

IPTCPalette.Unlock

Unlocks the palette color data after a call to Lock.

Declaration

Source position: paletted.inc line 36

procedure IPTCPalette.Unlock;

Description

Unlocks the palette color data after a call to IPTCPalette.Lock. If unlock is called and the palette is not locked a TPTCError exception will be raised.

Errors

TPTCError - a TPTCError exception is raised on failure.