ImageEn, unit iexOtherClasses |
|
TIERFBClient.Create
Declaration
constructor Create(FrameBuffer: TIEBitmap = nil);
Description
Creates a new instance of TIERFBClient using the specified bitmap as framebuffer.
If FrameBuffer is nil then a new bitmap is allocated and owned by the TIERFBClient object.
var
rfb: TIERFBClient;
begin
rfb := TIERFBClient.Create( ImageEnView1.IEBitmap );
rfb.OnUpdate := OnVNCUpdate;
rfb.Connect('My_VNC_Server');
...
end;
procedure TForm1.OnVNCUpdate(Sender: TNotifyEvent);
begin
ImageEnView1.Update;
end;