forked from do-/steludio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FormLine.pas
45 lines (35 loc) · 846 Bytes
/
FormLine.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
unit FormLine;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TFormln = class(TForm)
LabeledEdit1: TLabeledEdit;
BitBtnOK: TBitBtn;
BitBtnCancel: TBitBtn;
procedure BitBtnOKClick(Sender: TObject);
procedure BitBtnCancelClick(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Formln: TFormln;
implementation
{$R *.dfm}
procedure TFormln.BitBtnOKClick(Sender: TObject);
begin
ModalResult := idok;
end;
procedure TFormln.BitBtnCancelClick(Sender: TObject);
begin
ModalResult := idcancel;
end;
procedure TFormln.FormShow(Sender: TObject);
begin
LabeledEdit1.SelectAll;
end;
end.