Unable to select a file using the FileRequester

Mac OSX specific forum
Andrew Lindsay
User
User
Posts: 24
Joined: Mon May 30, 2011 12:17 pm

Unable to select a file using the FileRequester

Post 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
Andrew Lindsay
-----------------------------------------
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1243
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Re: Unable to select a file using the FileRequester

Post 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.
Image Image
Andrew Lindsay
User
User
Posts: 24
Joined: Mon May 30, 2011 12:17 pm

Re: Unable to select a file using the FileRequester

Post 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
Andrew Lindsay
-----------------------------------------
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1243
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Re: Unable to select a file using the FileRequester

Post 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.
Image Image
Post Reply