-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnit1About.pas
57 lines (48 loc) · 1.3 KB
/
Unit1About.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
51
52
53
54
55
56
57
unit Unit1About;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, TntButtons, ComCtrls, TntComCtrls, StdCtrls,
TntStdCtrls;
type
TForm1About = class(TForm)
TntPageControl1: TTntPageControl;
TntSpeedButton1: TTntSpeedButton;
TntTabSheet1: TTntTabSheet;
TntTabSheet2: TTntTabSheet;
TntTabSheet3: TTntTabSheet;
TntTabSheet4: TTntTabSheet;
TntTabSheet5: TTntTabSheet;
TntMemo1: TTntMemo;
TntMemo2: TTntMemo;
TntMemo3: TTntMemo;
TntMemo4: TTntMemo;
TntMemo5: TTntMemo;
procedure TntSpeedButton1Click(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1About: TForm1About;
implementation
{$R *.dfm}
procedure TForm1About.TntSpeedButton1Click(Sender: TObject);
begin
Close;
end;
procedure TForm1About.FormShow(Sender: TObject);
var
i1 :Word;
begin
for i1 := Form1About.ComponentCount - 1 downto 0 do
begin
if Form1About.Components[i1] is TTntMemo then
TTntMemo(Form1About.Components[i1]).Font.Name := 'NoorMitra';
if Form1About.Components[i1] is TTntTabSheet then
TTntTabSheet(Form1About.Components[i1]).Font.Name := 'NoorMitra';
end;
end;
end.