Article View: comp.sys.next.programmer
Article #396inter class messages
From: A. Jetha
Date: Sat, 01 Aug 1992 19:52
Date: Sat, 01 Aug 1992 19:52
22 lines
915 bytes
915 bytes
Can anyone tell me how to send a message (float value) from one class to the other? I have two classes that are subclasses of View. RotatorView and TextView (with a method called rotateText) I would like to send a float value from 'RotatorView' to the method 'rotateText' in the 'TextView' class. The name of the global variable in 'TextView' is textRotationAngle. How can I send the message? Should RotatorView be a subclass of TextView or is it fine as a subclass of View?? Can you tell I'm new at this? Hope you can help. Thanks A.J. ajetha@utcs.utoronto.ca
Technical Details
Message-ID:
<BsBLvI.CGs@gpu.utcs.utoronto.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!utgpu!ajethaShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!utgpu!ajetha From: ajetha@gpu.utcs.utoronto.ca (A. Jetha) Subject: inter class messages Message-ID: <BsBLvI.CGs@gpu.utcs.utoronto.ca> Organization: UTCS Public Access Date: Sat, 1 Aug 1992 19:52:29 GMT Lines: 23