[Q] How do I get the pixel-array of a form to recreate it in a method?

Scott Wallace scott.wallace at squeakland.org
Sun Apr 13 01:17:38 UTC 2003


Markus,

Open an Inspector on the form, and in it evaluate 'self storeString'.

Cheers,

    -- Scott

At 4:06 PM +0200 4/12/03, Markus Gaelli wrote:
>Hi,
>
>I have a form (painted, whatever) and want to recreate it by storing 
>it in a method.
>I saw people using
>
>	Form class >> extent: extentPoint depth: bitsPerPixel 
>fromArray: anArray offset: offsetPoint
>for achieving that.
>
>But I don't know, how to get "anArray"...
>
>Any hints?
>
>Thanks,
>
>Markus



More information about the Squeak-dev mailing list