ImageEn, unit iexOtherClasses

TIERFBClient.OnUpdate

TIERFBClient.OnUpdate


Declaration

property OnUpdate: TNotifyEvent;


Description

Occurs after a sequence of rectangles has been updated (see OnUpdateRect.


Example

// this is the common way to handle OnUpdate events using ImageEnView1.IEBitmap has framebuffer
procedure TForm.OnRFBUpdate(Sender: TObject);
begin
  ImageEnView1.Update;
end;

// this is the common way to handle OnUpdate events using TIERFBClient owned frame buffer
procedure TForm.OnRFBUpdate(Sender: TObject);
begin
  rfb.LockFrameBuffer;
  ImageEnView1.IEBitmap.Assign( rfb.FrameBuffer );
  rfb.UnlockFrameBuffer;
  ImageEnView1.Update;
end;