Changeset 317 for trunk/Forms/FormHelp.pas
- Timestamp:
- Jun 21, 2024, 12:44:53 PM (5 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormHelp.pas
r316 r317 1 unit UFormHelp;1 unit FormHelp; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 7 FormEx; 7 8 8 9 type … … 10 11 { TFormHelp } 11 12 12 TFormHelp = class(TForm )13 TFormHelp = class(TFormEx) 13 14 Memo1: TMemo; 14 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);15 15 procedure FormCreate(Sender: TObject); 16 procedure FormShow(Sender: TObject);17 16 end; 18 19 var20 FormHelp: TFormHelp;21 17 22 18 23 19 implementation 24 25 uses26 UCore;27 20 28 21 resourcestring … … 60 53 procedure TFormHelp.FormCreate(Sender: TObject); 61 54 begin 62 Core.CoolTranslator1.TranslateComponentRecursive(Self);63 55 Memo1.Lines.Text := SContent; 64 end;65 66 procedure TFormHelp.FormClose(Sender: TObject; var CloseAction: TCloseAction);67 begin68 Core.PersistentForm.Save(Self);69 end;70 71 procedure TFormHelp.FormShow(Sender: TObject);72 begin73 Core.PersistentForm.Load(Self);74 Core.ThemeManager1.UseTheme(Self);75 56 end; 76 57
Note:
See TracChangeset
for help on using the changeset viewer.