Re: [fpc-pascal] Using properties in interfaces

2011-03-22 Thread Sven Barth
Am 22.03.2011 10:59, schrieb Michael Fuchs: 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 ex

[fpc-pascal] Using properties in interfaces

2011-03-22 Thread Michael Fuchs
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