It is currently Sat Dec 07, 2019 8:27 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: macOS menu search?
PostPosted: Mon Dec 02, 2019 1:01 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Mar 11, 2009 4:06 pm
Posts: 166
Location: NL
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: macOS menu search?
PostPosted: Mon Dec 02, 2019 1:02 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Mar 11, 2009 4:06 pm
Posts: 166
Location: NL
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: macOS menu search?
PostPosted: Mon Dec 02, 2019 1:47 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Sun Aug 08, 2004 5:21 am
Posts: 3542
Location: Netherlands
If you want to return useful information yourself for that search box, you need to implement
NSUserInterfaceItemSearching

_________________
macOS 10.15 Catalina, PB 5.71 x64


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye