/[projects]/dao/DelphiScanner/Components/tpsystools_4.04/examples/Delphi/EXUSRMG4.pas
ViewVC logotype

Contents of /dao/DelphiScanner/Components/tpsystools_4.04/examples/Delphi/EXUSRMG4.pas

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2671 - (show annotations) (download)
Tue Aug 25 18:15:15 2015 UTC (8 years, 10 months ago) by torben
File size: 1529 byte(s)
Added tpsystools component
1 (* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is TurboPower SysTools
15 *
16 * The Initial Developer of the Original Code is
17 * TurboPower Software
18 *
19 * Portions created by the Initial Developer are Copyright (C) 1996-2002
20 * the Initial Developer. All Rights Reserved.
21 *
22 * Contributor(s):
23 *
24 * ***** END LICENSE BLOCK ***** *)
25
26 unit EXUSRMG4;
27
28 interface
29
30 uses
31 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
32 StdCtrls;
33
34 type
35 TNewGroupForm = class(TForm)
36 OKBtn: TButton;
37 CancelBtn: TButton;
38 GroupNameEdit: TEdit;
39 CommentEdit: TEdit;
40 Label1: TLabel;
41 Label3: TLabel;
42 procedure OKBtnClick(Sender: TObject);
43 private
44 { Private declarations }
45 public
46 { Public declarations }
47 end;
48
49 var
50 NewGroupForm: TNewGroupForm;
51
52 implementation
53
54 {$R *.DFM}
55
56 procedure TNewGroupForm.OKBtnClick(Sender: TObject);
57 begin
58 if Trim(GroupNameEdit.Text) = '' then
59 ModalResult := mrNone;
60 end;
61
62 end.

  ViewVC Help
Powered by ViewVC 1.1.20