User Tools

Site Tools


savedbuffers_saved_record_buffers_.htm
Navigation:  ABC Library Reference > ViewManager > ViewManager Properties >====== SavedBuffers (saved record buffers) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
SavedBuffers &BuffersQueue, PROTECTED

blk2blue.jpg

The SavedBuffers property contains references to saved copies of the record buffer for the managed view. The saved record images may be used to detect changes by other workstations, to implement cancel operations, etc.

Implementation:

The SaveBuffers method stores a copy of the current Buffer contents into the SavedBuffers property.

The RestoreBuffers method releases memory allocated by the SaveBuffers method. Therefore, to prevent a memory leak, each call to SaveBuffers should be paired with a corresponding call to RestoreBuffers.

SavedBuffers is a reference to a QUEUE declared in ABFILE.INC as follows:

BuffersQueue QUEUE,TYPE     !Saved records

Id            USHORT        !Handle to recognize saved instance

FM            &FileManager  !Reference to the FileManager Class

            END

See Also:     SaveBuffers, Restore Buffers

savedbuffers_saved_record_buffers_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1