Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • FPC
  • Lazarus Lazarus
  • LazarusLazarus
  • Issues
  • #19035

TIntegerField not recognised by IDE

Original Reporter info from Mantis: TWhyman
  • Reporter name: Tony Whyman

Description:

When a unit contains a published TIntegerField (typically a Delphi import), the corresponding form cannot be displayed and an error is returned reporting that the IntegerField unit is not known to the IDE.

The problem seems to be that in the "db" unit, TIntegerField is defined to be an equivalent type to TLongintField i.e.

TIntegerField = TLongintField;

It thus cannot be registered by RegisterNoIcon as a distinct type to TLongIntField. Fixing this bug probably requires a class definition i.e.

TIntegerField = class(TLongintField);

and a corresponding

RegisterNoIcon([TIntegerField]);

Mantis conversion info:

  • Mantis ID: 19035
  • Fixed in version: 1.1 (SVN)
  • Fixed in revision: 39321 (#b5fb88fb)
Assignee
Assign to
Time tracking