[BUG][FIX] Morphic: File Selection Dialog [was MVC: File Selectio n Dialog]

Magistrello Alejandro (SFA) magistra at TELEFONICA.COM.AR
Thu Aug 28 19:59:16 UTC 2003


>De:	Boris Gaertner [SMTP:Boris.Gaertner at gmx.net]
>Asunto:	Re: [BUG][FIX] MVC: File Selection Dialog (shows another
bug)
>
>I tried to execute
> (PluggableFileList oldFileMenu: (FileDirectory on: 'c:\windows\fonts'))
>      startUpWithCaption: 'Select a File, please:'
>in a Mrophic project and receive a strange effect, that I cannot quickly
>fix:
>I put that statement into a workspace that I place more or less centered
>on the screen. When I execute the statement, the selection dialog is
>displayed above the workspace. This looks good, but as soon as a
>call up one of the menues of the dialog, the selected text of the workspace
>comes into the foreground.
>I think that in  PluggableFileList>>open one should have something like
> Smalltalk isMorphic
>    ifTrue: [<...>]
>    ifFalse: [<...>]
>
>I tried to do that, the result can be found in MorphicFSD.1.cs  
<<MorphicFSD.1.cs>> 
>In SystemWindow>>update:  I added a reaction to the
>message #close.
>In PluggableFileList>>openAsMorphLasbel:inWorld:
>I added an event loop. The condition of the loop uses the
>fact that the model of a SystemWindow is niled when the
>window is deleted. 
>I am not very experienced user of the Morphic interface,
>so comments are highly wellcome.
>
>
>Greetings,
>Boris
>

if you use the closeButton you'll get a walkback.

btw, this is pretty similar to FileList2 modalFileSelector 

regards,
   Alejandro


-------------- next part --------------
A non-text attachment was scrubbed...
Name: MorphicFSD.1.cs
Type: application/octet-stream
Size: 3424 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030828/f7787fd6/MorphicFSD.1.obj


More information about the Squeak-dev mailing list