| Object Controls |
|
| Prior Next | |||||||||||||||||||
|
Object Defined Controls (ODC) are completely defined by the related object which is responsible for all properties, methods and aspects of the control. The system provides the DEFCTL OBJECT directive to create an ODC as follows:
Where:
| |||||||||||||||||||
| *Note* |
Once an Object Defined Control is defined both the object handle and CTL value will logically refer to the same object | ||||||||||||||||||
|
| |||||||||||||||||||
|
Foundation Classes |
PxPlus provides a number of foundation classes for the basic control types in the *plus/ctls directory. These foundation classes can be used to build your own controls that respond to most of the standard system directives and property requests.
The following is a list of the foundation classes that we supply and their related function.
These class files are designed to be inherited by your own class definition, which as a minimum will have to have a Paint method.
| ||||||||||||||||||
|
Example: |
The following is a sample demo button ODC class definition:
| ||||||||||||||||||
| *Note* |
Most of these foundation classes are designed to be used in conjunction with an ODC server . | ||||||||||||||||||
| Prior Next |