TECH TIP: How to Make a Data-Aware RB Component
- Publish the DataPipeline and DataField properties. These are declared in the ancestor class TppPrintable (ppPrnabl.pas).
- Override the public IsDataAware function from TppPrintable class to return True.
- Override the public Notify method from the ancestor to redraw the design control.
- Override SetDataField to also redraw the design control. It is a protected method of TppPrintable.