Opening FileList To Get Value Back

Bob Arning arning at charm.net
Fri Aug 6 17:17:59 UTC 1999


On Fri, 06 Aug 1999 09:07:32 -0500 "R. A. Harmon" <harmonra at webname.com> wrote: 
>At 07:47 AM 8/6/99 -0400, Bob Arning wrote:
>>On Fri, 06 Aug 1999 05:51:28 -0500 "R. A. Harmon" <harmonra at webname.com>
>wrote: 
>>>Could anyone tell me how to open a FileList so I can query it later (the
>>>path and file name)?
>>
>>aFileList _ FileList openAsMorph openInWorld model.
>
>That was quick, thanks.
>
>I try to stay strictly with MVC as I want to port this stuff.  What is the
>MVC equivalent?

You mean other Smalltalk's don't have Morphic? What a bummer!

First replace the last line of FileList class>>open, which reads:

	topView controller open.

with these two lines:

	topView controller openNoTerminate.
	^topView

and then evaluate:

aFileList _ FileList open model

Cheers,
Bob





More information about the Squeak-dev mailing list