Re-re hello.

OK, I found the previous post:
https://sourceforge.net/p/mseide-msegui/mailman/message/37789573/

So not yet a nice solution.

Every more idea is welcome.

Fre;D

________________________________
De : Fred vS <fi...@hotmail.com>
Envoyé : jeudi 3 août 2023 21:06
À : mseide-msegui-talk@lists.sourceforge.net 
<mseide-msegui-talk@lists.sourceforge.net>
Objet : Re: [MSEide-MSEgui-talk] Save forms to bitmaps?

Re-hello.

In Lazarus custom draw, they use this, could it be adapted for MSEgui ?:

function TCustomForm.GetFormImage: TBitmap;
var
  ARect: TRect;
begin
  Result := TBitmap.Create;
  try
    Result.SetSize(ClientWidth, ClientHeight);
    LCLIntf.GetWindowRect(Handle, ARect);
    with GetClientOrigin do
      PaintTo(Result.Canvas, ARect.Left - X, ARect.Top - Y);
  except
    Result.Free;
    raise;
  end;
end;

________________________________
De : Fred vS
Envoyé : jeudi 3 août 2023 20:38
À : mseide-msegui-talk@lists.sourceforge.net 
<mseide-msegui-talk@lists.sourceforge.net>
Objet : Save forms to bitmaps?

There is a topic on Lazarus forum about save forms to bitmaps with MSEgui:
https://forum.lazarus.freepascal.org/index.php/topic,64187.msg487549.html#msg487549

This is the comment:

Have a look at MSEide/MSEgui. For now it can't do that either but compared to 
LCL's customdrawn, MSEgui is much closer to achieving that.
https://github.com/mse-org/mseide-msegui
Unfortunately, at the moment, unlike LCL, MSEgui is not able to save forms to 
bitmaps, which is something very important for MSEgui. Much more important than 
it is for LCL.

-----------------------

It seems to me that it was already asked but cannot remember.

Is it possible to save forms to bitmaps?
Sure with a capture-screen and select a position it is possible but it seems 
they want something else.

_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to