Discussion:
derive a new FieldClass
(too old to reply)
Janet
2005-09-01 07:25:19 UTC
Permalink
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!
Riki Wiki
2005-09-03 08:09:39 UTC
Permalink
Hoi Janet

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>

Loading...