WinStudio
Tip: Inheritance Strategies
Inheritance strategies provide a powerful facility for reducing
the development effort and increasing the consistency of your application.
The following rules are strongly recommended. If you employ them,
you should rarely have to specify a data type, a format definition,
and many other properties of a component.
- Use SQL Server user-defined data types for your column definitions.
- In IDO development, establish IDO property attributes that
are inherited effectively by many components without being overridden.
You can set up IDO property classes to package default settings
for property attributes. All IDO properties based on an IDO property
class inherit the class attributes.
- In form development, set up property class extensions only
if you need them. If components bound to IDO properties commonly
override the attributes of the IDO property and if the IDO property
inherits from an IDO property class, you can set up a WinStudio
property class extension to standardize how these bound components
override the IDO property class behavior.
- In form development, set up component classes to package the
attributes of any type of component. Modifying a component class
is a streamlined way of altering the behavior of any component
that inherits from the class.
Related Topics
About Inheritance
from IDOs, Component Classes, and Property Class Extensions
Understanding Component
Classes
Understanding
Property Class Extensions