D
Does SetDonovan do anything (like create an object)
which could cause an 'abstract error'
abstract errors are usually virtually decalred methods with imp in the class
Neven
----- Original Message -----
From: "Donovan J. Edye" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, 23 August 2001 11:56
Subject: [DUG]: [Q] Component Property - Gives "Abstract Error"
> G'Day All,
>
> I have the following component that is descended from a Dev Express
> TdxImageEdit control
>
> TBaseDataLink = class(TPersistent)
> TSimpleDataLink = class(TBaseDataLink)
>
> type
> TADSSimpleEntity = class(TdxImageEdit)
> private
> FDataLink : TSimpleDataLink;
> FDonovan : boolean;
> procedure SetDonovan(const Value : boolean);
> protected
> { Protected declarations }
> public
> constructor Create(AOwner : TComponent); override;
> destructor Destroy; override;
> published
> property DataLink : TSimpleDataLink read FDataLink write FDataLink;
> property Donovan : boolean read FDonovan write SetDonovan;
> end;
>
> Now the component compiles fine, but as soon as I drop it onto a form I
get
> either:
>
> "Error reading ADSSimpleEntity1.Donovan: Abstract Error." or propery
> Donovan does not exist if I attempt to reference it in code. Has anyone
got
> any ideas for me? The other DataLink property works without a problem.
>
> 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.
> ----------------------------------------------------------------------
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/