aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/Delphi20/swordvc/Unit1.pas
blob: eaa804eeb4f159aa819aee663e93c05e423cfcfb (plain) (blame)
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
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  SWModule, StdCtrls, ComCtrls, swkey, swvskey, ExtCtrls, swtxtdsp;

type
  TForm1 = class(TForm)
    Panel2: TPanel;
    Panel1: TPanel;
    Button1: TButton;
    Edit1: TEdit;
    Label1: TLabel;
    SWModule1: TSWModule;
    SWVerseKey1: TSWVerseKey;
    SWTextDisp1: TSWTextDisp;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);
begin
	SWVerseKey1.Text := Edit1.Text;
     SWTextDisp1.Display();
     Label1.Caption := SWVerseKey1.Text;
end;

end.