[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Inheriting from Clipper's Classes
Clipper's classes can 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 Clipper'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.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson