Hello,
if I understand the documentation correct, this is the only way using a
property in an interface:
IMyInterface = interface
function GetTag: Integer;
procedure SetTag(AValue: Integer);
property Tag: Integer read GetTag write SetTag;
end;
Or exists a possibilty to define the interface like that:
IMyInterface = interface
property Tag: Integer;
end;
And the programmer who implement this interface could decides how to
implement the property?
regards
Michael
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal