| Line | |
|---|
| 1 | Unit LargeFileWarningFormUnit;
|
|---|
| 2 |
|
|---|
| 3 | Interface
|
|---|
| 4 |
|
|---|
| 5 | Uses
|
|---|
| 6 | Classes, Forms, Graphics, Buttons, StdCtrls,
|
|---|
| 7 | ACLLanguageUnit;
|
|---|
| 8 |
|
|---|
| 9 | Type
|
|---|
| 10 | TLargeFileWarningForm = Class (TForm)
|
|---|
| 11 | OKButton: TButton;
|
|---|
| 12 | CancelButton: TButton;
|
|---|
| 13 | WarningLabel: TLabel;
|
|---|
| 14 | NotAgainCheckBox: TCheckBox;
|
|---|
| 15 | HelpButton: TButton;
|
|---|
| 16 | Procedure LargeFileWarningFormOnSetupShow (Sender: TObject);
|
|---|
| 17 | Procedure LargeFileWarningFormOnCreate (Sender: TObject);
|
|---|
| 18 | Private
|
|---|
| 19 | Public
|
|---|
| 20 | Procedure OnLanguageEvent( Language: TLanguageFile;
|
|---|
| 21 | const Apply: boolean );
|
|---|
| 22 | End;
|
|---|
| 23 |
|
|---|
| 24 | Var
|
|---|
| 25 | LargeFileWarningForm: TLargeFileWarningForm;
|
|---|
| 26 |
|
|---|
| 27 | Implementation
|
|---|
| 28 |
|
|---|
| 29 | Uses
|
|---|
| 30 | ControlsUtility;
|
|---|
| 31 |
|
|---|
| 32 | Procedure TLargeFileWarningForm.LargeFileWarningFormOnSetupShow (Sender: TObject);
|
|---|
| 33 | Begin
|
|---|
| 34 | ScaleForm( self, 11, 16 );
|
|---|
| 35 | End;
|
|---|
| 36 |
|
|---|
| 37 | Procedure TLargeFileWarningForm.LargeFileWarningFormOnCreate (Sender: TObject);
|
|---|
| 38 | Begin
|
|---|
| 39 | RegisterForLanguages( OnLanguageEvent );
|
|---|
| 40 | End;
|
|---|
| 41 |
|
|---|
| 42 | Procedure TLargeFileWarningForm.OnLanguageEvent( Language: TLanguageFile;
|
|---|
| 43 | const Apply: boolean );
|
|---|
| 44 | begin
|
|---|
| 45 | Language.LoadComponentLanguage( self, Apply );
|
|---|
| 46 | end;
|
|---|
| 47 |
|
|---|
| 48 | Initialization
|
|---|
| 49 | RegisterClasses ([TLargeFileWarningForm, TButton, TLabel, TCheckBox]);
|
|---|
| 50 | End.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.