Changeset 316 for trunk/Forms/UFormItem.pas
- Timestamp:
- Jun 19, 2024, 11:53:06 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormItem.pas
r300 r316 1 1 unit UFormItem; 2 3 {$mode delphi}4 2 5 3 interface … … 7 5 uses 8 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, UItemList, 9 ExtCtrls, ColorBox, Spin, fgl;7 ExtCtrls, ColorBox, Spin, Generics.Collections; 10 8 11 9 type … … 23 21 private 24 22 FItem: TItem; 25 DataControls: T FPGObjectList<TControl>;26 DataLabels: T FPGObjectList<TLabel>;23 DataControls: TObjectList<TControl>; 24 DataLabels: TObjectList<TLabel>; 27 25 procedure ControlChangeExecute(Sender: TObject); 28 26 procedure SetItem(AValue: TItem); … … 62 60 Core.CoolTranslator1.TranslateComponentRecursive(Self); 63 61 Core.ThemeManager1.UseTheme(Self); 64 DataControls := T FPGObjectList<TControl>.Create;65 DataLabels := T FPGObjectList<TLabel>.Create;62 DataControls := TObjectList<TControl>.Create; 63 DataLabels := TObjectList<TLabel>.Create; 66 64 end; 67 65
Note:
See TracChangeset
for help on using the changeset viewer.