Working with Custom Classes in dBASE, Ken Mayer, Senior SQA Engineer, January 30, 2001 at http://www.dbase.com/knowledgebase/int/custom_classes/custclas.htm
What is a Class, and What is a Custom Class?
A Class is a definition of an object
-- it stores within its definition all of the properties,events and methods
associated with the object (this is,
by the way, 'encapsulation').
A Custom Class is a developer defined
class, based on one of the stock
classes (classes built-in to dBASE). A
really good example of a Custom Class
file ships with dB2K -- it is in the
CLASSES (in Visual dBASE 7.x this is
the CUSTOM folder) directory, and is
called DATABUTTONS.CC. We will briefly
look at one of the buttons defined in
this class file, but most of the code
we will look at will be a bit
different than what's defined here.
Microsoft uses the term "custom" in its documentation for any extension of its supplied libraries.
If you wanted to extend a ListBox
you would create a "custom control". If you wanted to extend a Timer
, you would create a "custom component". Extend the DataTable
, create a "custom class". They have done this for a long time. The earliest reference I can remember is the Visual Basic 5.0 manuals, which I think was 1996/1997.
There were "Custom App Wizard" projects, "Custom Business Objects in RDS [ADO]", "Custom Click Events", "Custom Properties in SQL Server MDX", "Custom OCX Controls", "Custom Controls with DHTML", and the list goes on and on. I estimate that the MSDN Library of October 2001 has over 300 index entries starting with the word "custom".