Multiple NSPopUpMenu and bindings

Discussion in 'Mac Programming' started by MacDonaldsd, Feb 15, 2008.

  1. macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #1
    Hi,

    I have a problem with an application I am making.

    When I select a Pop a menu it doesn't automatically update the Pop menu below with the correct values. (there linked with a relationship)

    The values in the second Pop up menu are relevant to whatever the first pop menu shows, when the application launches (it differs as core data doesn't fetch in a particular order).


    I get the content in the seconds pop up menu using the content set bindings for that NSArrayController.

    The problem it seems to me is the second array controller doesn't refresh itself or the the first Pop Up Menu doesn't change the selection.

    Any Ideas ?
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Make sure you have your popup button bound correctly. See my post in this thread.
     
  3. thread starter macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #3
    Kainjow once again Thank You :D
     

Share This Page