SystemWindow

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

SystemWindow

Bob.Cowdery
If I put my morphic creation in a window is there any way to remove the
window afterwards? Also I notice that setting the window colour is a bit
odd. Only the border colour changes. Then by setting solid fill off the
background can be set by the gradient colour and then putting solid fill
back on the colour remains. Is this deliberate behaviour?

Regards
Bob
*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.

Reply | Threaded
Open this post in threaded view
|

Re: SystemWindow

Elod Kironsky
Hi Bob!

>If I put my morphic creation in a window is there any way to remove the
>window afterwards?
>
Could you explain this in detail please.

>Also I notice that setting the window colour is a bit
>odd. Only the border colour changes. Then by setting solid fill off the
>background can be set by the gradient colour and then putting solid fill
>back on the colour remains. Is this deliberate behaviour?
>
>  
>
Did you try:

s:=SystemWindow new openInWorld.
s color: (Color red)?

It changes the color of the window but not the label area in 3.8. In 3.9
it changes the color of the entire window.

Elod

Reply | Threaded
Open this post in threaded view
|

RE: SystemWindow

Bob.Cowdery
In reply to this post by Bob.Cowdery
Hi Elod


>If I put my morphic creation in a window is there any way to remove the
>window afterwards?
>
>> Could you explain this in detail please.

I have a PasteupMorph containing my UI. If I go to the halo menu and
'extras/put in window' it puts a system window round the PasteUpMorph.
However there is no 'remove from window' but then I can't seem to get a
halo to the PasteUpMorph anymore so I can't be sure there wouldn't be a
remove option.

>Also I notice that setting the window colour is a bit
>odd. Only the border colour changes. Then by setting solid fill off the
>background can be set by the gradient colour and then putting solid
fill
>back on the colour remains. Is this deliberate behaviour?
>
>  
>
Did you try:

> s:=SystemWindow new openInWorld.
> s color: (Color red)?

> It changes the color of the window but not the label area in 3.8. In
3.9
> it changes the color of the entire window.

No, but I would need to see how to programmatically wrap the window
round something existing in the world. Maybe just changing its owner
would work.

Bob --

*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.

Reply | Threaded
Open this post in threaded view
|

Re: SystemWindow

Elod Kironsky
Cowdery, Bob [UK] wrote:

>No, but I would need to see how to programmatically wrap the window
>round something existing in the world. Maybe just changing its owner
>would work.
>
>  
>
Try to examine the openInWindow method in Morph class. That's exactly
what happens if you
trigger the extras/put in a window menu option.

Elod

Reply | Threaded
Open this post in threaded view
|

RE: SystemWindow

Bob.Cowdery
In reply to this post by Bob.Cowdery
RE: SystemWindow

Eloe

Thanks, I can work it out from there. I still tend to forget everything is there to look at.

> Try to examine the openInWindow method in Morph class. That's exactly
> what happens if you
> trigger the extras/put in a window menu option.

Bob

*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.