Icon OnCompress Event

property OnCompress: TCompressEvent


The OnCompress event is fired when the engine needs to compress a buffer. Please see the Compression topic for more information on the default compression in DBISAM.

Information If you assign an event handler to this event to override the default compression, you should make sure that you also assign an event handler to the OnDecompress event. Failure to do so can cause serious problems such as access violations.