Okey so I only needed to select a directory and needed to shrink the size of the widget anyway. So I opted for the sublass solution, got rid of the file pane and added an action block on the #ok method.


2014-04-07 16:12 GMT+02:00 Thomas Bany <mun.sysdev@gmail.com>:
Hi !

I'm trying to fit a GUI in full screen mode, that uses a FileDialogWindow at some point.

I'm able to recover the answer from FileDialogWindow when I it is opened modaly. However, since I would like to open it fullscreen with the selector #openFullScreen, the calling block does not wait and immediatly gets a nil answer.

I was thinking of hacking my way out of it and subclassing FileDialogWindow to overide a method somewhere to call a block of my choosing but I really does not feel right.

Has anyone a clue ?

Thanks in advance for your time !

Thomas.