Hi Jeff,
Here is an example to bring up the file dialog answering a file reference.

| reference |
reference := UIManager default 
  fileSave: 'Save as?' 
  extensions: #('pdf' 'png' 'stuff') 
  path: Smalltalk imageDirectory.

For other examples see MorphicUIManager where methods start with file*

Best regards,
Henrik 

-----Original Message-----
From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of 
Jeff Gray
Sent: Thursday, November 12, 2015 11:22 PM
To: pharo-users@lists.pharo.org
Subject: Re: [Pharo-users] FileDialog from Spec

I just want to call a dialog on a button click.

What approach do I take with the Polymorph one? 
Do I have to open a Polymorph window which then calls the dialog or can I bake 
the Polymorph dialog into my spec window?



--
View this message in context: 
http://forum.world.st/FileDialog-from-Spec-tp4860608p4860782.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.


Reply via email to