Thread View: comp.sys.next.programmer
2 messages
2 total messages
Started by Lloyd P. Goldwasser
Tue, 21 Jul 1992 23:46
Why doesn't initFrame see Forms, make assignments?
Author: Lloyd P. Goldwasser
Date: Tue, 21 Jul 1992 23:46
Date: Tue, 21 Jul 1992 23:46
17 lines
831 bytes
831 bytes
Why doesn't - initFrame see outlets that the rest of its object sees, such as Forms? E.g., x = [aForm floatValueAt:0]; does not give an error message, but, within initFrame, it does not assign x either. The same statement in other methods of the same object do assign x properly. Any insights? Thanks in advance, Lloyd Goldwasser goldly@u.washington.edu
Re: Why doesn't initFrame see Forms, make assignments?
Author: Sean T. Lamont
Date: Wed, 22 Jul 1992 05:01
Date: Wed, 22 Jul 1992 05:01
21 lines
1544 bytes
1544 bytes
In article <1992Jul21.234601.8528@u.washington.edu> goldly@u.washington.edu (Lloyd P. Goldwasser) writes: >Why doesn't - initFrame see outlets that the rest of its object sees, such >as Forms? If you're using an IB-generated view, at the point when -initFrame is called within the view the form isn't necessarily instantiated yet. if you use an NXApp delegate you can get at the object after everything has been instantiated by using the "-appDidInit:sender" delegate method. you might want to use gsb to check at the point you're trying to manipulate the form and see if it has any value. If it's not instantiated, it will have no value and any messages sent to it get lost in the ether. -- Sean T. Lamont, Abstract Software | "Don't oppress me, It's zeno@u.washington.edu | 'computer of color!' " Next Mail............................... | yang.cpac.washington.edu!zebu!zeno ----------------"My employers opinions are my own, not yours."-----------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads