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