Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-07

Mac OS X : Using TOpenDialog to select a Mac Application...

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi all,
I'm trying to use the TOpenDialog to allow the user to select an external editor for things like code changes or to play back music, but I can't work out how I can get the TOpenDialog to enable selection of Applications on Mac OS X. Any suggestions?

Thanks,

Dominique.

Reply by email

dmitry boyarintsev
to Unknown author
Show quoted text 5 lines
Can I confirm that the correct way to set up the component to pick up applications is to set a DefaultExt .app and the Filter, in my case, is set to... Programs|*.app ?

Confirm.

If you have a filter mask * or *.* or *.app then application bundles can be selected.
Also if you set filter "Helloworld program|Helloworld.app", then any bundle will be selectable as well. This will be improved in future.

thanks,
dmitry

Reply by email

Unknown author
to dmitry boyarintsev

Excellent. Thanks.

dmitry boyarintsev wrote 14 lines
> Can I confirm that the correct way to set up the component to pick up > applications is to set a DefaultExt .app > and the Filter, in my case, is set to... > Programs|*.app > ? Confirm. If you have a filter mask * or *.* or *.app then application bundles can be selected. Also if you set filter "Helloworld program|Helloworld.app", then any bundle will be selectable as well. This will be improved in future. thanks, dmitry

Reply by email