home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5710 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.1 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!ppgfr!mars!wolpert
  2. From: wolpert@mars (Florian Wolpert)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: How can i get an object-id via tag from a panel ?
  5. Message-ID: <1992Aug20.141249.21764@ppgfr.uucp>
  6. Date: 20 Aug 92 14:12:49 GMT
  7. Sender: news@ppgfr.uucp
  8. Organization: PPG Hellige, Freiburg, GERMANY
  9. Lines: 19
  10. Nntp-Posting-Host: mars
  11. X-Newsreader: Tin 1.1 PL4
  12.  
  13. Hi NeXTers,
  14.  
  15. in my application, i have a lot of panels with a lot of buttons
  16. on it. i don't want to draw conections (via IB) from every button
  17. to my control-object and visa versa. Now i have set the tag-numbers
  18. of all buttons but how can i access the button-id while only having
  19. the panel-id. I want to do something like this :
  20.    for (i=0;i<30;i++) {
  21.       [[panel getIdForTag:i] setState:0];
  22.    }
  23. How can i do this or how can i emulate this getIdForTag-method ? 
  24.  
  25. Flo.
  26. --
  27. Reply-To: wolpert%ppgfr.uucp@germany.eu.net
  28. 2i-d&s : wolpert%dandsnx.uucp@germany.eu.net (NeXTmail preferred)
  29. Hellige : wolpert%ppgfr.uucp@germany.eu.net
  30. uni-fr  : wolpert@informatik.uni-freiburg.de
  31. snail-mail to 2i Industrial Informatics, Haierweg 20e, D-7800 Freiburg
  32.