🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by A. Jetha Sat, 01 Aug 1992 19:52
inter class messages
#396
Author: A. Jetha
Date: Sat, 01 Aug 1992 19:52
22 lines
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
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