Navigation: ABC Library Reference > ViewManager > ViewManager Properties >====== SavedBuffers (saved record buffers) ====== | |
SavedBuffers | &BuffersQueue, PROTECTED |
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