Changeset 463 for branches/highdpi/Packages/Common/FormAbout.pas
- Timestamp:
- Nov 29, 2023, 2:35:44 PM (12 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/Common/FormAbout.pas
r462 r463 1 unit UFormAbout; 2 3 {$mode delphi} 1 unit FormAbout; 4 2 5 3 interface … … 7 5 uses 8 6 UDpiControls, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, 9 StdCtrls, ExtCtrls, UApplicationInfo, UCommon, UTranslator, UTheme;7 StdCtrls, ExtCtrls, ApplicationInfo, Common, Translator, Theme; 10 8 11 9 type … … 22 20 PanelButtons: TDpiPanel; 23 21 procedure ButtonHomePageClick(Sender: TObject); 24 procedure FormCreate(Sender: TObject);25 22 procedure FormShow(Sender: TObject); 26 private27 { private declarations }28 23 public 29 24 AboutDialog: TObject; //TAboutDialog … … 37 32 38 33 uses 39 UAboutDialog;34 AboutDialog; 40 35 41 36 resourcestring … … 50 45 if Assigned(AboutDialog) then 51 46 with TAboutDialog(AboutDialog) do begin 52 if Assigned( CoolTranslator) then53 CoolTranslator.TranslateComponentRecursive(Self);47 if Assigned(Translator) then 48 Translator.TranslateComponentRecursive(Self); 54 49 if Assigned(ThemeManager) then 55 50 ThemeManager.UseTheme(Self); … … 79 74 end; 80 75 81 procedure TFormAbout.FormCreate(Sender: TObject);82 begin83 end;84 85 76 end. 86
Note:
See TracChangeset
for help on using the changeset viewer.