forked from lmbelo/python4delphi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit1.pas
More file actions
38 lines (29 loc) · 729 Bytes
/
Unit1.pas
File metadata and controls
38 lines (29 loc) · 729 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
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
PythonEngine, StdCtrls, ExtCtrls, ComCtrls, PythonGUIInputOutput;
type
TForm1 = class(TForm)
Splitter1: TSplitter;
Memo1: TMemo;
PythonEngine1: TPythonEngine;
Panel1: TPanel;
Button1: TButton;
RichEdit1: TRichEdit;
PythonGUIInputOutput1: TPythonGUIInputOutput;
procedure Button1Click(Sender: TObject);
private
{ Déclarations privées }
public
{ Déclarations publiques }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
begin
PythonEngine1.ExecStrings( memo1.Lines );
end;
end.