-
Notifications
You must be signed in to change notification settings - Fork 44
/
UnitBinderSelect.pas
51 lines (41 loc) · 1.08 KB
/
UnitBinderSelect.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
unit UnitBinderSelect;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, StdCtrls, Buttons, ExtCtrls;
type
TFormBinderSelect = class(TForm)
RadioGroup1: TRadioGroup;
RadioGroup2: TRadioGroup;
RadioGroup3: TRadioGroup;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
ImageList1: TImageList;
procedure FormCreate(Sender: TObject);
procedure BitBtn1Click(Sender: TObject);
procedure BitBtn2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FormBinderSelect: TFormBinderSelect;
implementation
{$R *.dfm}
procedure TFormBinderSelect.BitBtn1Click(Sender: TObject);
begin
ModalResult := mrOk;
end;
procedure TFormBinderSelect.BitBtn2Click(Sender: TObject);
begin
ModalResult := mrCancel;
end;
procedure TFormBinderSelect.FormCreate(Sender: TObject);
begin
Self.Left := (screen.width - Self.width) div 2 ;
Self.top := (screen.height - Self.height) div 2;
ImageList1.GetBitmap(0, bitbtn1.Glyph);
ImageList1.GetBitmap(1, bitbtn2.Glyph);
end;
end.