htylim at yahoo.com.ar
Tue May 18 13:30:01 UTC 2004
You can find the methods you are looking for at the class side of the
Flaps class. Look for the ' *connectors-predefined flaps ' category.
About your ScrollPane question, try the following code on a workspace:
| s |
s _ ScrollPane new.
y _ 0.
[s scroller addMorph: (BorderedMorph new position: 0 at y).
y _ y + 50].
s scroller color: Color white.
extent: 100 at 100;
So as you see the contents of a ScrollPane are placed in its scroller
From: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of Daria
Sent: Monday, May 17, 2004 10:20 AM
To: Squeak developers list
Subject: Squeak Morphic
I'm sorry I have again two beginner's questions.
First, I want to generate a flap similar to the flap "Connectors" from the
connectors package. Can somebody tell me where I can find the source code
for this (including the source code for making the buttons for generating
the connectors and other elements)?
Second, I want to add some Morphs to a ScrollPane such that the Morph is
not visible and the ScrollPane becomes scrollabe if the Morph is outside the
(at the moment) visible range of the ScrollPane. How can I do this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev