Changeset 162 for trunk/Forms/FormNameDetails.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormNameDetails.pas
r149 r162 4 4 5 5 uses 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls ;6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, FormEx; 7 7 8 8 type … … 10 10 { TFormNameDetails } 11 11 12 TFormNameDetails = class(TForm )12 TFormNameDetails = class(TFormEx) 13 13 ButtonOk: TButton; 14 14 ButtonCancel: TButton; … … 23 23 Label27: TLabel; 24 24 Label5: TLabel; 25 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);26 procedure FormCreate(Sender: TObject);27 procedure FormShow(Sender: TObject);28 25 end; 29 26 … … 33 30 {$R *.lfm} 34 31 35 uses36 Core;37 38 { TFormNameDetails }39 40 procedure TFormNameDetails.FormClose(Sender: TObject;41 var CloseAction: TCloseAction);42 begin43 Core.Core.PersistentForm1.Save(Self);44 end;45 46 procedure TFormNameDetails.FormCreate(Sender: TObject);47 begin48 Core.Core.Translator.TranslateComponentRecursive(Self);49 Core.Core.ThemeManager1.UseTheme(Self);50 end;51 52 procedure TFormNameDetails.FormShow(Sender: TObject);53 begin54 Core.Core.PersistentForm1.Load(Self);55 end;56 57 32 end. 58 33
Note:
See TracChangeset
for help on using the changeset viewer.