 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Liviu Uba Guest
|
Posted: Mon Jan 26, 2004 12:12 pm Post subject: In Delphi 8 does <implements> keyword not function anymore? |
|
|
In Delphi 8 does <implements> keyword not function anymore?
Example:
type
IMyInterface = interface
['{5ADDDDA1-52DD-4638-9E94-D0B1B80EFE9C}']
procedure Test;
end;
TMyObject = class( TComponent, IMyInterface )
procedure Test;
end;
TMyTestUser = class( TComponent, IMyInterface )
protected
FMyObject : TMyObject;
public
---> property MyObject : TMyObject read FMyObject implements
IMyInterface; <--- compiler error !!
end;
compiler fails at marked line with error: " ; expected but "implements"
found"
This is a basic functionality and in D8 help we have also an example of it
What is to do ?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|