G'Day All,

If I have something like:

TMyBaseComponent = class(TComponent)
private
   FMyProp : string;
   FOnMyEvent : TNotifyEvent;
published
   property MyProp : string read FMyProp write FMyProp;
   property OnMyEvent : TNotifyEvent read FOnMyEvent write FOnMyEvent;
end;

TMyDescendantComponent = class(TMyBaseComponent)


How do you elegantly in the descendant:

1. Determine when MyProp is changed so that TMyDescendantComponent can take some specialised action
2. Determine when OnMyEvent is fired so that TMyDescendantComponent can take some specialised action

TIA

-- Donovan
----------------------------------------------------------------------
Donovan J. Edye [
www.edye.wattle.id.au]
Namadgi Systems [
www.namsys.com.au]
Voice: +61 2 6285-3460
Fax: +61 2 6285-3459
TVisualBasic = Class(None);
Heard just before the 'Big Bang': "...Uh Oh...."
----------------------------------------------------------------------
GXExplorer [
http://www.gxexplorer.org] Freeware Windows Explorer
replacement. Also includes freeware delphi windows explorer components.
----------------------------------------------------------------------

Reply via email to