The ReturnTableCell class is used to represent a single cell on the ReturnTable that is displayed to the user. As we saw in the object module for the Table control in Figure 11-1, it inherits from the Curl system class TextDisplay, which contains most of the visual properties we require from a Graphic control. However, to have the functionality required in a rich table control, we must add to this base functionality, as can be seen in the code listed in Figure 11-8.

Figure 11-8. ReturnTableCell class listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || File: ReturnTableCell.scurl || Author: Paul Sheehan || Version: 1.0 || Contents: A cell in the ReturnTable ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...

Get Enterprise Curl now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.