Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/menu preferences

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

MENU PREFERENCES Syntax MENU PREFERENCES menuID, itemID 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 MENU PREFERENCES 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 menuID and itemID so that your program can react without special coding. A full example of using the new PREFERENCE commands can be found on on the PUT PREFERENCES help page. Note: This will not work properly if the itemID 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. See Also PUT PREFERENCES; GET PREFERENCES; KILL PREFERENCES