-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathufilenametemplatehelpform.pas
50 lines (35 loc) · 1.09 KB
/
ufilenametemplatehelpform.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
unit uFileNameTemplateHelpForm;
{This dialog is used as a replacement of standard ShowMessage() because it can`t
show tabs on Windows (possible WinApi bug). Discussion:
https://forum.lazarus.freepascal.org/index.php/topic,55804.0.html
http://www.freepascal.ru/forum/viewtopic.php?f=13&t=43290&p=162762#p162762
}
{$mode objfpc}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ButtonPanel;
type
{ TFileNameTemplateHelpForm }
TFileNameTemplateHelpForm = class(TForm)
ButtonPanel: TButtonPanel;
TextLabel: TLabel;
procedure FormCreate(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
FileNameTemplateHelpForm: TFileNameTemplateHelpForm;
implementation
uses
uLocalization;
{$R *.lfm}
{ TFileNameTemplateHelpForm }
procedure TFileNameTemplateHelpForm.FormCreate(Sender: TObject);
begin
TextLabel.Caption := Localizer.I18N('FileNameTemplateHelpText');
ButtonPanel.CloseButton.Caption := Localizer.I18N('Close');
end;
end.