On Wed, Jan 13, 2010 at 10:50 PM, Igor
Stasenko
<siguctua@gmail.com>
wrote:
2010/1/13
Mariano Martinez Peck <marianopeck@gmail.com>:
> Ok...I am lazy to open a new thread...My
understandings of Morphic are not
> even nil.
>
> I need to programatically open a workspace and set a size to it.
For
> example:
>
>
> ��� Workspace new
> ��� acceptContents: 'This is the content';
> ��� openLabel: 'This is a label'.
>
> I saw the message extent:�� but is in Morphs, and this is not
morph.
>
> I would like to do something like this:
>
>
> ��� Workspace new
> ��� acceptContents: 'This is the content';
> ��� openLabel: 'This is a label';
> ��� extent: 500 @ 400.
>
>
> Any tips ?
>
> And of course, if I can choose WHERE (x and y) would be greate
also.
>
Morph new openInWorld position: 100@100 ; width: 200; height: 500
Thanks Igor. I am REALLY newbie. I want a workspace to do that, not a
Morph. Workspace is not in the Morph hierarchy and thus, it does not
understand that message. Maybe I can put a workspace inside that morph ?