Home Segments Index Top Previous Next

799: Mainline

To see that an update: message is sent, you can define the update: message for the ViewSubclass class, thus overriding the do-nothing version found higher in the hierarchy:

ViewSubclass method definition • instance 
update: aspect 
 Transcript show: 
   'Sample viewer receiving '  
   , aspect printString 
   , ' update message'; cr. 
Workspace
M changed: #test. 
Transcript 
Sample viewer receiving #test update message