Changeset 145 for trunk/Forms/FormMessages.pas
- Timestamp:
- Jun 5, 2023, 6:44:57 PM (18 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMessages.pas
r144 r145 1 unit UFormMessages;1 unit FormMessages; 2 2 3 3 interface … … 15 15 procedure FormCreate(Sender: TObject); 16 16 procedure ListView1Data(Sender: TObject; Item: TListItem); 17 private18 { private declarations }19 17 public 20 18 procedure Reload; 21 19 end; 22 20 23 var24 FormMessages: TFormMessages;25 21 26 22 implementation … … 29 25 30 26 uses 31 UCore, UTarget;27 Core, Target; 32 28 33 29 { TFormMessages } … … 35 31 procedure TFormMessages.ListView1Data(Sender: TObject; Item: TListItem); 36 32 begin 37 with Core do33 with Core.Core do 38 34 if (Item.Index >= 0) and (Item.Index < Messages.Count) then 39 35 with Messages[Item.Index] do begin … … 45 41 procedure TFormMessages.FormCreate(Sender: TObject); 46 42 begin 43 Core.Core.Translator.TranslateComponentRecursive(Self); 44 Core.Core.ThemeManager.UseTheme(Self); 47 45 end; 48 46 49 47 procedure TFormMessages.Reload; 50 48 begin 51 ListView1.Items.Count := Core. Messages.Count;49 ListView1.Items.Count := Core.Core.Messages.Count; 52 50 ListView1.Refresh; 53 51 end;
Note:
See TracChangeset
for help on using the changeset viewer.