I would like to declare a polymorph class. The
class has several properties and it's the read and write specifiers that I want
to be virtual abstract. So derived classes override the read and write
specifiers. The problem however is that I get an EAbstractError. The
property is still considered to be abstract according to the compiler. So what
did I wrong? I have added an example below.
Is it perhaps not allowed to use this construct?
What would then be the best way?
uses Classes, ComCtrls,
type TCustomClass = class
mehods function GetMyProperty: string; virtual;
abstract; procedure SetMyProperty(Value: string); virtual;