Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
8. Feb 2018
Ok, thank you very much by all your answers :-D
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
8. Feb 2018
@EWeiss,
this idea of container seems more appropiated for me, but my form still will appear on screenshot?
I not want hide/show or minimoze/maximize, this not is good. Remember that background of Form must be erased before capture the screen.
This container could be a TImage or what?
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
8. Feb 2018
Unfortunately i not understood your custom DoubleBuffer function.
Probably this can work to remove flicker when Form is resized in TakeScreenshot method, but i'm totally lost about how implement on my code :(
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
8. Feb 2018
The Form is resized inside of TakeScreenshot procedure.
Relative to my last answer, what component (in my case) i can apply custom DubleBuffer function?
Ex: the parameters received are of my Form? could give a example about where apply this function?
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
6. Feb 2018
All functions used in my example are compatible with any delphi version from 2010 until 10 Berlin
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
6. Feb 2018
Ok, but this way, Form will appear in screenshot, right?
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
6. Feb 2018
Also without success, could show how you made, please?
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
6. Feb 2018
DoubleBuffered := True; not works.
Forum: Object-Pascal / Delphi-Language
Delphi
by flashcoder,
6. Feb 2018
I have this code below where is possible see desktop behind a full screen Form and have a trouble of flicker every time that Form is resized on these lines:
procedure TForm1.TakeScreenShot;
begin
Width := 0;
Height := 0;
DoSnapShot := True;
Width := ScreenRect.Width;
Height := ScreenRect.Height;