Board index » delphi » Capture the whole form into TBitmap ?

Capture the whole form into TBitmap ?

Quote
"Gate" <g...@hotmail.com> wrote in message

news:8a6pss$80t1@bornews.borland.com...

Quote
> any ideas ?

Try the screen capture links at
http://www.efg2.com/Lab/Library/Delphi/Graphics/Algorithms.htm

--
efg

Earl F. Glynn     E-Mail:  EarlGl...@att.net
Overland Park, KS  USA

efg's Computer Lab:  http://www.efg2.com/Lab

 

Re:Capture the whole form into TBitmap ?


any ideas ?

Thanx

Re:Capture the whole form into TBitmap ?


If you need the whole form (even if the user has resized the window, or it
is off
the screen), you have only one one reliable choice... TExcellentFormPrinter,
available at: http://home1.gte.net/joehecht/index.htm

Joe

Re:Capture the whole form into TBitmap ?


Quote
> the screen), you have only one one reliable choice...

TExcellentFormPrinter,

Quote
> available at: http://home1.gte.net/joehecht/index.htm

Or, you could simply call:
MyForm.GetFormImage
to get the bitmap.

//Linus

Re:Capture the whole form into TBitmap ?


Hi!

Quote
>Or, you could simply call:
>MyForm.GetFormImage
>to get the bitmap.

Will that also work if another window is above the form that you wan't to get ??

Regards
        Olrik Larsen
        Ol...@MercuryGroup.dk

Quote
On Mon, 13 Mar 2000 15:43:26 +0100, "Linus Elman" <pr...@techno.org> wrote:
>> the screen), you have only one one reliable choice...
>TExcellentFormPrinter,
>> available at: http://home1.gte.net/joehecht/index.htm

>Or, you could simply call:
>MyForm.GetFormImage
>to get the bitmap.

>//Linus

Re:Capture the whole form into TBitmap ?


Yes it will
Quote
Olrik Larsen wrote:
> Hi!

> >Or, you could simply call:
> >MyForm.GetFormImage
> >to get the bitmap.
> Will that also work if another window is above the form that you wan't to get ??

> Regards
>         Olrik Larsen
>         Ol...@MercuryGroup.dk

> On Mon, 13 Mar 2000 15:43:26 +0100, "Linus Elman" <pr...@techno.org> wrote:

> >> the screen), you have only one one reliable choice...
> >TExcellentFormPrinter,
> >> available at: http://home1.gte.net/joehecht/index.htm

> >Or, you could simply call:
> >MyForm.GetFormImage
> >to get the bitmap.

> >//Linus

Re:Capture the whole form into TBitmap ?


Ups!
I allmost forgot this post!

Thanks Charles.

Regards
        Olrik Larsen
        Ol...@MercuryGroup.dk

Quote
On Wed, 15 Mar 2000 08:01:53 +1000, Charles Hacker <C.Hac...@mailbox.gu.edu.au> wrote:
>Yes it will

>Olrik Larsen wrote:

>> Hi!

>> >Or, you could simply call:
>> >MyForm.GetFormImage
>> >to get the bitmap.
>> Will that also work if another window is above the form that you wan't to get ??

>> Regards
>>         Olrik Larsen
>>         Ol...@MercuryGroup.dk

>> On Mon, 13 Mar 2000 15:43:26 +0100, "Linus Elman" <pr...@techno.org> wrote:

>> >> the screen), you have only one one reliable choice...
>> >TExcellentFormPrinter,
>> >> available at: http://home1.gte.net/joehecht/index.htm

>> >Or, you could simply call:
>> >MyForm.GetFormImage
>> >to get the bitmap.

>> >//Linus

Re:Capture the whole form into TBitmap ?


Quote
Linus Elman wrote:
> Or, you could simply call MyForm.GetFormImage to get the bitmap.

Then you can draw all the parts that do not display correctly, like the
text in a combobox and a dozen other problems. Of couse, if the user
resized the form, you only get the visibale portion, and thats only
of the function is successful (and often enough, it is not). Of couse,
if your running a 256 color display, you may just get a blob of
garbage.

If it was that easy, I would not have so many customers
who are quite happy using my TExcellentFormPrinter,
after they suffered many of the same problems listed above.

Its available at: http://home1.gte.net/joehecht/index.htm

Joe

Other Threads