Xojo Conferences

[MBS] Using HFS filetypes with NSOpenPanelMBS (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Licence clarification for ChartDirector
Next thread: [MBS] New Dictionary like classes

Re: [MBS] 9.3pr11   -   Garth Hjelte
  [MBS] Using HFS filetypes with NSOpenPanelMBS   -   Dennis Birch

[MBS] Using HFS filetypes with NSOpenPanelMBS
Date: 28.03.08 21:23 (Fri, 28 Mar 2008 13:23:48 -0700)
From: Dennis Birch
I'm messing around with the NSOpenPanelMBS class to see if I can use
it in a project, but I'm getting stuck on one point. I am having
success using extensions for file types to filter on, but I cannot
figure out how to set types based on HFS filetypes, which the
documentation says are supported. As a test I've tried:

dim n As Integer = panel.runModalForTypes("TEXT")

But it does not allow selecting files that I know have a MacCreator
value of "TEXT". I have also tried passing a string array that
included "TEXT" as a member, again without success.

Does anybody know how to make this work?
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>