Page 1 of 1

Unable to select a file using the FileRequester

Posted: Wed Nov 04, 2020 3:56 am
by Andrew Lindsay
I am trying to use the FileRequester to select a file. The dialog displays, but I can never get it to actually select a file.

I am using the latest Beta version.

Regards

Andrew

Re: Unable to select a file using the FileRequester

Posted: Wed Nov 04, 2020 6:15 am
by Paul
I have no problems with OpenFileRequester using PureBasic 5.72 on both Mojave and HighSierra

Code: Select all

file$=OpenFileRequester("Select File","","*.*",0)
MessageRequester("",file$)

Those are the only versions of OSX I have to test with and you don't say what version you are running.

Re: Unable to select a file using the FileRequester

Posted: Wed Nov 04, 2020 3:56 pm
by Andrew Lindsay
Sorry, I'm using Catalina.

It's weird behaviour. When the dialog first appears, I can not select a file, and yet I can open and close folders. I can also drag and move around the dialog, still without being able to select a file.

BUT, if I grab the lower left corner and resize the dialog, I am then able to select a file. This is weird.

Regards

Andrew

Re: Unable to select a file using the FileRequester

Posted: Thu Nov 05, 2020 1:24 am
by Paul
I just installed Catalina on my MacBook Air and the OpenFileRequester works the same as on Mojave and High Sierra without issues.
So I guess the issue you are experiencing is something else.

When I installed PureBasic after the Catalina install, I installed "Command Line Tools for XCode 12.1" for PB to compile my code.