<< Click to display table of contents >> TSRichViewEdit.UpdateBuffer, UpdateBufferAt |
These methods redraw the internal buffer or its area.
procedure UpdateBuffer;
procedure UpdateBufferAt(PaintRect: TRect);
When drawing on the screen, TSRichViewEdit control uses an internal buffer (a bitmap). When you call Invalidate or Repaint method, the control simply copies from this buffer to the screen.
These methods update this buffer (or the area PaintRect specified in the client coordinates) and the corresponding area on the screen.
Normally, the buffer is updated when document is changed, so you do not need to call these methods. However, if you want to update some drawing made in OnPaintPage, use these methods.