PureBasic Forum
https://www.purebasic.fr/english/

macOS menu search?
https://www.purebasic.fr/english/viewtopic.php?f=19&t=74140
Page 1 of 1

Author:  Rinzwind [ Mon Dec 02, 2019 1:01 pm ]
Post subject:  macOS menu search?

Anyone an idea how this is done in PB? The IDE includes it, so I guess it should be possible. You know, the way you can search for the location of a menu item in macOS? Most times the search box is located in the Help menu.

Author:  Rinzwind [ Mon Dec 02, 2019 1:02 pm ]
Post subject:  Re: macOS menu search?

Talked too soon. Simply adding a Help menu automagically adds it. Not sure if this is language dependant however. How does macOS 'know' its the help menu?

Author:  wilbert [ Mon Dec 02, 2019 1:47 pm ]
Post subject:  Re: macOS menu search?

If you want to return useful information yourself for that search box, you need to implement
NSUserInterfaceItemSearching

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/