 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Janet Guest
|
Posted: Thu Sep 01, 2005 7:25 am Post subject: derive a new FieldClass |
|
|
I Derive a field class from a standard field class:
type
TEStringField = class(TStringField)
...
end;
in my unit's Register procedure do this:
procedure Register;
begin
RegisterFields([TMyStringField]);
end;
When I build project, a compile error showed, it's said:
"Incompatible types: 'TFieldClass' and 'Class reference'."
What's this message mean? How should I modify my program?
Thanks in advance!
|
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Sat Sep 03, 2005 8:09 am Post subject: Re: derive a new FieldClass |
|
|
Hoi Janet
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
|
|
| 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
|
|