Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OPENFILEDIALOG$ question on a Mac
#2
You're supposed to give the second and third parameters. They are not optional. The Wiki page "synposis" is badly written for this function in particular.

The second parameter: The function needs to know where to begin to show files to the user. I don't know a lot about MacOS so I don't know what is the default path for your account's Documents directory. That should be the value to use if you don't care otherwise what it is.

The third parameter is the type of file the user desires to show in the open file requester. In the least this should be "*.*" but again I don't know if that could work on Macintosh computer with its original operating system. If you require text files then it should be "*.txt". If you aren't going to be the only one using the program that you write, it would be nice to indicate a bit of help such as "Text files". This has to be indicated in the fourth parameter.

In the third parameter must use the vertical bar to separate the wildcard paths if there is more than one path desired to be shown in the open file requester. The fourth parameter then must have the same order of descriptions.
Reply


Messages In This Thread
OPENFILEDIALOG$ question on a Mac - by NakedApe - 12-22-2023, 09:36 PM
RE: OPENFILEDIALOG$ question on a Mac - by mnrvovrfc - 12-22-2023, 11:41 PM
RE: OPENFILEDIALOG$ question on a Mac - by bplus - 12-23-2023, 12:21 AM
RE: OPENFILEDIALOG$ question on a Mac - by bplus - 12-23-2023, 12:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac print #file crlf? BlameTroi 5 341 02-16-2026, 08:42 PM
Last Post: BlameTroi
  Mac debugger not connecting, a user error! BlameTroi 0 110 02-07-2026, 06:18 PM
Last Post: BlameTroi
  Mac current release sigabrt BlameTroi 3 235 02-05-2026, 02:26 PM
Last Post: a740g
  _Putimage Question. Pete 11 719 01-04-2026, 09:33 PM
Last Post: Pete
  Joysticks on a Mac, _DEVICEINPUT() NakedApe 15 1,741 01-01-2026, 04:05 PM
Last Post: pmackay

Forum Jump:


Users browsing this thread: 1 Guest(s)