ABSTRACT

This chapter helps the user to learn how to construct a "field editor" by using the inheritance mechanism of the Intrinsics. A widget has two components, the class part and the instance part. In the case of the CoreWidget, it must provide some of the functionality: The ClassPart of each widget is "tacked on" to the end of the CoreClassPart. So, if the user had their own widget called "OurWidgetClass," user would create the widget's class record by doing the following: The second part of a widget is the instance part (record). The chapter helps the user to learn how to build a new widget that demonstrates the inheritance mechanism. Additionally, we would like to have a field action routine so that the user could provide enhanced edit checking. The purpose of the destroy method is to give back any system-related resources that it has taken. The chapter contains all of the source code for the functional part of the widget.