-
Notifications
You must be signed in to change notification settings - Fork 2
/
codes.pas
53 lines (37 loc) · 939 Bytes
/
codes.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
unit Codes;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
htmlview;
type
{ TFormCodes }
TFormCodes = class(TForm)
HTMLViewer1: THTMLViewer;
procedure FormActivate(Sender: TObject);
procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
procedure FormCreate(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
FormCodes: TFormCodes;
implementation
{$R *.lfm}
{ TFormCodes }
procedure TFormCodes.FormActivate(Sender: TObject);
begin
end;
procedure TFormCodes.FormClose(Sender: TObject; var CloseAction: TCloseAction);
begin
//CloseAction:= caFree;
end;
procedure TFormCodes.FormCreate(Sender: TObject);
begin
formcodes.Height := 600;
formcodes.Width := 800;
HTMLViewer1.LoadFromString(memo1.Text);
end;
end.