Ignore:
Timestamp:
Jun 19, 2024, 11:53:06 PM (3 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormItem.pas

    r300 r316  
    11unit UFormItem;
    2 
    3 {$mode delphi}
    42
    53interface
     
    75uses
    86  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, UItemList,
    9   ExtCtrls, ColorBox, Spin, fgl;
     7  ExtCtrls, ColorBox, Spin, Generics.Collections;
    108
    119type
     
    2321  private
    2422    FItem: TItem;
    25     DataControls: TFPGObjectList<TControl>;
    26     DataLabels: TFPGObjectList<TLabel>;
     23    DataControls: TObjectList<TControl>;
     24    DataLabels: TObjectList<TLabel>;
    2725    procedure ControlChangeExecute(Sender: TObject);
    2826    procedure SetItem(AValue: TItem);
     
    6260  Core.CoolTranslator1.TranslateComponentRecursive(Self);
    6361  Core.ThemeManager1.UseTheme(Self);
    64   DataControls := TFPGObjectList<TControl>.Create;
    65   DataLabels := TFPGObjectList<TLabel>.Create;
     62  DataControls := TObjectList<TControl>.Create;
     63  DataLabels := TObjectList<TLabel>.Create;
    6664end;
    6765
Note: See TracChangeset for help on using the changeset viewer.