Futurebasic/Language/Reference/menu preferences

Revised
Feb 2002 (Release 6)

Description
In OS X, preferences are no longer accessible from the bottom item of the Edit menu. They are traditionally moved to the application menu. This means that you would have to do a large amount of coding to insure that your program followed the proper guidelines for both System 9 and OS X. Instead, you may use the  statement. If you are operating in System 9, this command does nothing. If your application is being run in OS X, the preference menu is moved to the application menu. Further, if the user selects the preference item, the menu choice is converted to the specified  and   so that your program can react without special coding.

A full example of using the new PREFERENCE commands can be found on on the  help page.

Note: This will not work properly if the  is anything other than the last item of the edit menu. FB must delete the old preference item and this would change menu IDs in your program if other selections followed it.