How to use "setRecentSearches" of a NSSearchField?

  • Hi everybody :)

    Could somebody please explain how to use the "setRecentSearches"
    method of a NSSearchField? I would like to do a special kind of
    type-a-head functionality in a search-field - but cannot make it work.

    Intuitively I would belive that I just had to supply an array og
    strings and then  a menu with the strings would be displayed under the
    search field. This is not the case.

    Best regards!
    Mads
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today