Path: utzoo!attcan!uunet!decwrl!sgi!shinobu!odin!joker.sgi.com!myoung From: myoung@joker.sgi.com (Mark Young) Newsgroups: comp.sys.mac.programmer Subject: TC4.0: Odd Address/Address Error, using SetCtlAction() Message-ID: <10752@odin.corp.sgi.com> Date: 23 Jul 90 16:34:16 GMT Sender: news@odin.corp.sgi.com Reply-To: myoung@joker.asd.sgi.com (Mark Young) Followup-To: comp.sys.mac.programmer Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 19 I've been trying to implement a scrollbar in a dialog menu. Everything seems to work Ok (the up/pageup/down/pagedown parts) until I try to move the thumb widget. If I'm in the debugger, I get an odd address message with the pc at 80157c (system 6.02). If I'm not in the debugger, macsbug gives me an address error. when in the debugger, I can trace the action routine to the point where it returns; the error happens as soon as I step past the return. If I don't set the action routine, I can move the thumb just fine, but can't get set actions for the other parts of the scrollbar. anyone have any suggestions...please...I've already wasted many hours trying to find a way to track this down with no luck. thanks. ...myoung