[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Inheriting from Nantucket's Classes
------------------------------------------------------------------------------
Nantucket's classes be used as though they were Class(y) classes. This
means they can be inherited from, for example:
CREATE CLASS BetterBrowse FROM TBrowse
.
.
Also, the Class(y) instantiation syntax can (optionally) be used
instead of Nantucket's. Four class functions have been provided
for this purpose: TBrowse(), TBColumn(), Get(), and Error(). For
example:
oBr := TBrowseNew(5, 5, 15, 70)
becomes
oBr := TBrowse():new(5, 5, 15, 70)
This allows greater consistency. Either or both syntaxes can be used
in the same program, and it does not matter which is used first. See
the tutorial section Inheriting from TBrowse (on the Class(y)
distribution disk) for an example of how this can be used.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson