[Pharo-project] UIManager>>chooseFileName* flavour to get full path?

Gary Chambers gazzaguru2 at btinternet.com
Mon Jun 27 05:19:41 EDT 2011


There is currently 

MorphicUIManager>>chooseFullFileNameMatching:label:

Feel free to add in ones that take a path/preview if necessary.

Regards, Gary

  ----- Original Message ----- 
  From: Guillermo Polito 
  To: Pharo Development 
  Sent: Saturday, June 25, 2011 9:04 PM
  Subject: [Pharo-project] UIManager>>chooseFileName* flavour to get full path?


  Hi!

  I was wondering why

  UITheme>>chooseFileNameIn: title: patterns: path: preview:

  and

  UITheme>>chooseFileNameIn: title: extensions: path: preview:

  do

  fd := FileDialogWindow basicNew
          previewType: preview;
          initialize;
          title: title;
          answerFileName.

  And actually there is no variant using answerPathName what is a bit more useful because it answers the entire path to the selected file...

  Thanks!
  Guille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110627/455e3558/attachment-0001.html>


More information about the Pharo-dev mailing list