I want to set which files will be accepted as file drop over my app icon, but when I click File Types in OS X Build Settings, but when I click on Choose, all I get is an empty box with columns Type and Role.
Should I not get options there ? How do I set the app to accept text files, for instance, dropped over its icon, then opened in the App OpenDocument event ?
You must first create a FileTypes object for your app. In Xojo, go to the ‘insert’ button and choose ‘FileTypes’. Here you can select from a list of standard types or create your own custom types for your app’s files. Once you have done this, the types created will appear in the dlog you mentioned and their ‘roles’ can be set.