UsersGuide:Chapter 10
From Real Software Documentation
Creating Reusable Objects with Classes
Classes act as templates for objects much in the same way that the windows listed in the Project Editor act as templates for the windows you open in your application. This chapter will introduce you to the benefits of classes, explain how to create and modify them, and how you can create custom interface controls using classes.
Contents
- The Benefits of Classes
- Understanding Instances
- Understanding Subclasses
- Referring to a Class’s Properties and Methods From Within the Class
- Creating Classes
- Saving Classes
- Modifying Classes
- Virtual Methods
- Extending Classes
- Constructors and Destructors
- Overloading
- Using Arrays of Classes
- Casting
- Managing Menus within Classes
- Using Classes in Your Projects
- The Application Class
- Creating Custom Interface Controls with Classes
- Class Interfaces
- Interface Inheritance
- Interface Aggregation
- Introspection
- Importing Classes From Other Projects
- Exporting Classes For Use In Other Projects
- Deleting Classes From a Project
