Professional Web Applications Themes

Cocoa / IB / Synchron NSControls - Mac Programming

Hello NG I guess that might be a silly beginners question. I want to have two synchron acting NSPopupButton on different windows. I think there has to be a very simple way but I can't find it. Thank you for your time and help....

  1. #1

    Default Cocoa / IB / Synchron NSControls

    Hello NG
    I guess that might be a silly beginners question.
    I want to have two synchron acting NSPopupButton on different windows.
    I think there has to be a very simple way but I can't find it.

    Thank you for your time and help.


    Florian Guest

  2. #2

    Default Re: Cocoa / IB / Synchron NSControls

    In article <40017638$0$17553$arcor-online.net>,
    Florian Zschocke <de> wrote:
     

    I'm not sure I understand the question and you haven't really given us
    enough information to answer this other than in a very general way; for
    instance, how are you controlling these two windows? Does each window
    have it's own window controller, are the window controllers controlled
    by the same doent or are these different doents.

    Whatever, on the assumption that (1) what you are trying to do is but
    popups on two different windows that you want to coordinate so they
    have the same current selection and that there are two different
    controllers for the windows (whatever you might call those
    controllers), the simple way to do this would be to have each popup's
    action method, whereever that might be, post a notification and then
    have each popup's controller register to receive those notifications.

    You could, of course, also have each popup's action method directly
    send a message to the other popup's controller.

    Spence
    James Guest

  3. #3

    Default Re: Cocoa / IB / Synchron NSControls

    James Spencer wrote: 
    Sorry for my very short description, but my english is very poor
     

    Notification - that was the thing i was searching.
     

    Thank you.


    Florian Guest

Similar Threads

  1. Synchron object positions by mesh scaling !
    By Orry71 in forum Macromedia Director 3D
    Replies: 1
    Last Post: June 1st, 09:05 PM
  2. Considering Cocoa Books
    By David in forum Mac Programming
    Replies: 10
    Last Post: January 31st, 09:54 PM
  3. Cocoa + Xcode + GMP = What the?
    By M in forum Mac Programming
    Replies: 11
    Last Post: November 22nd, 11:46 PM
  4. Bit shifts in Cocoa
    By Korbin Meiser in forum Mac Programming
    Replies: 2
    Last Post: September 11th, 01:11 AM
  5. Q About Cocoa & CF Prefs..
    By David Phillip Oster in forum Mac Programming
    Replies: 2
    Last Post: July 31st, 12:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139