Thread View: comp.sys.mac.oop.macapp3
2 messages
2 total messages
Started by Euro Tech Svcs, OOP Spec
Tue, 15 Dec 1992 19:01
Re: Getting idle time in a vie
Author: Euro Tech Svcs, OOP Spec
Date: Tue, 15 Dec 1992 19:01
Date: Tue, 15 Dec 1992 19:01
22 lines
1054 bytes
1054 bytes
Rich, You could attach a IdleBehaviour to the window that contains the view. Give this behaviour a reference to the view(s) that need idle time and call the TView.DoIdle() method MANUALLY for each of those views. If you don't want to add a behaviour, implement this in the TWindow.DoIdle() method and use FindSubViews(). By the way, the cohandler chain works as well, but is not the preferred way of doing things (maybe you get the crash because you forget to remove the cohandler when you close the window?). Anyone out there with a more elegant suggestion? Regards, Jeroen Schalk Object Programming Specialist European Technology Services Apple Computer Europe
Re: Getting idle time in a vie
Author: Kent Sandvik
Date: Wed, 16 Dec 1992 00:26
Date: Wed, 16 Dec 1992 00:26
16 lines
1301 bytes
1301 bytes
In article <724446629.4345396@AppleLink.Apple.COM>, SCHALK1@AppleLink.Apple.COM > By the way, the cohandler chain works as well, but is not the preferred way of > doing things (maybe you get the crash because you forget to remove the > cohandler when you close the window?). Long time ago (12 months feels like eternity in this business) the story was that cohandlers should be reserved for framework internal use, and behaviors is the way to go. I'm not yet sure about all the issues related to Bedrock transitions, but so far using behaviors is also a possible good idea for 'you know what'. Kent ------------------- Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com) DISCLAIMER: Private activities on the Net.
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