RequestFile - Mac - freezes window?

Archives Forums/BlitzMax Bug Reports/RequestFile - Mac - freezes window?

simonh(Posted 2012) [#1]
Anyone else get this problem?

If I add this code to a standard windowed BlitzMax program:

If KeyHit( KEY_SPACE )
    Local def_dir$=CurrentDir$()
    Local filter$="Text File:txt"
    Local filename$=RequestFile$( "Please Select Text File",filter$,False,def_dir$ )	
EndIf


And press space to bring up the requestor, then cancel the requestor, the window will just freeze. However, the app appears to be running in the background.

If the save parameter is changed to true then it works fine.

Running Lion 10.7.4 and BlitzMax 1.48.

Last edited 2012


simonh(Posted 2012) [#2]
Runnable example (overwrite simonh/fireworks sample)

Press space to bring up file requestor, then once it has closed, it should set off a firework.



Last edited 2012