-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSelectUser.pas
More file actions
41 lines (32 loc) · 838 Bytes
/
SelectUser.pas
File metadata and controls
41 lines (32 loc) · 838 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
unit SelectUser;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TFRM_SelectUser = class(TForm)
ComboBox1: TComboBox;
Label1: TLabel;
Label2: TLabel;
CheckBox1: TCheckBox;
Button1: TButton;
Button2: TButton;
procedure ComboBox1Change(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
implementation
uses Prog_Unit;
{$R *.DFM}
procedure TFRM_SelectUser.ComboBox1Change(Sender: TObject);
begin
Button1.Enabled := ComboBox1.Text <> '';
end;
procedure TFRM_SelectUser.FormShow(Sender: TObject);
begin
ComboBox1Change(Self);
end;
end.