ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Aug/What-does-calcSize-do-in-Controls?

This is What-does-calcSize-do-in-Controls? in view mode; [Up]


Date: Sun 31-Aug-1989 00:07:15 From: Unknown Subject: What does -calcSize do in Controls? The class docs for Control and Matrix, in their description of method -calcSize, both point to -calcSize in Form as the example of why one may want to use it. Matrix does it to illustrate why a subclass of Matrix may want to override Matrix's -calcSize to "do more, if necessary", and Control uses Frame as an example of how -calcSize can be used for "more sophisticated sizing operations". The problem is that the example itself is missing. The class description of Form does not say anything about what its -calcSize method does. I'm trying to write a subclass of Matrix that allows rows to be of different heights and columns to be of different widths. Do I need to override -calcSize? Jacob

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.