-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheadfm.pas
More file actions
48 lines (31 loc) · 696 Bytes
/
Copy pathheadfm.pas
File metadata and controls
48 lines (31 loc) · 696 Bytes
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
unit HeadFm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, XMLPropStorage,
MasterFm, BinPropStorage;
type
{ THeadForm }
THeadForm = class(TMasterForm)
procedure FormCreate(Sender: TObject);
private
public
BPS: TAppPropStorage;
end;
var
HeadForm: THeadForm;
implementation
uses Streaming2, FileUtil, Unit1;
{$R *.lfm}
{ THeadForm }
procedure THeadForm.FormCreate(Sender: TObject);
begin
BPS := TAppPropStorage.Create(Self);
SaveDesktop := True;
SessionProperties := 'SlaveForms';
TForm1.Create(Self);
ShowMessageFmt('%d Slaves', [SlaveCount]);
end;
initialization
RegisterForStreaming(THeadForm);
end.