|
1 | | -object Form1: TForm1 |
2 | | - Left = 241 |
3 | | - Top = 155 |
4 | | - Width = 544 |
5 | | - Height = 375 |
6 | | - VertScrollBar.Range = 200 |
7 | | - ActiveControl = Button1 |
8 | | - Caption = 'Demo of Python' |
9 | | - Color = clBtnFace |
10 | | - Font.Charset = DEFAULT_CHARSET |
11 | | - Font.Color = clWindowText |
12 | | - Font.Height = 11 |
13 | | - Font.Name = 'MS Sans Serif' |
14 | | - Font.Pitch = fpVariable |
15 | | - Font.Style = [] |
16 | | - OldCreateOrder = True |
17 | | - PixelsPerInch = 96 |
18 | | - TextHeight = 13 |
19 | | - object Splitter1: TSplitter |
20 | | - Left = 0 |
21 | | - Top = 153 |
22 | | - Width = 528 |
23 | | - Height = 3 |
24 | | - Cursor = crVSplit |
25 | | - Align = alTop |
26 | | - Color = clBtnFace |
27 | | - ParentColor = False |
28 | | - ExplicitWidth = 536 |
29 | | - end |
30 | | - object Memo1: TMemo |
31 | | - Left = 0 |
32 | | - Top = 156 |
33 | | - Width = 528 |
34 | | - Height = 136 |
35 | | - Align = alClient |
36 | | - Font.Charset = DEFAULT_CHARSET |
37 | | - Font.Color = clWindowText |
38 | | - Font.Height = -13 |
39 | | - Font.Name = 'Consolas' |
40 | | - Font.Pitch = fpVariable |
41 | | - Font.Style = [] |
42 | | - Lines.Strings = ( |
43 | | - 'print(2+2)') |
44 | | - ParentFont = False |
45 | | - ScrollBars = ssBoth |
46 | | - TabOrder = 1 |
47 | | - end |
48 | | - object Panel1: TPanel |
49 | | - Left = 0 |
50 | | - Top = 292 |
51 | | - Width = 528 |
52 | | - Height = 44 |
53 | | - Align = alBottom |
54 | | - BevelOuter = bvNone |
55 | | - TabOrder = 0 |
56 | | - object Button1: TButton |
57 | | - Left = 6 |
58 | | - Top = 8 |
59 | | - Width = 115 |
60 | | - Height = 25 |
61 | | - Caption = 'Execute script' |
62 | | - TabOrder = 0 |
63 | | - OnClick = Button1Click |
64 | | - end |
65 | | - object Button2: TButton |
66 | | - Left = 168 |
67 | | - Top = 8 |
68 | | - Width = 91 |
69 | | - Height = 25 |
70 | | - Caption = 'Load script...' |
71 | | - TabOrder = 1 |
72 | | - OnClick = Button2Click |
73 | | - end |
74 | | - object Button3: TButton |
75 | | - Left = 264 |
76 | | - Top = 8 |
77 | | - Width = 89 |
78 | | - Height = 25 |
79 | | - Caption = 'Save script...' |
80 | | - TabOrder = 2 |
81 | | - OnClick = Button3Click |
82 | | - end |
83 | | - end |
84 | | - object Memo2: TMemo |
85 | | - Left = 0 |
86 | | - Top = 0 |
87 | | - Width = 528 |
88 | | - Height = 153 |
89 | | - Align = alTop |
90 | | - Font.Charset = DEFAULT_CHARSET |
91 | | - Font.Color = clWindowText |
92 | | - Font.Height = -13 |
93 | | - Font.Name = 'Consolas' |
94 | | - Font.Pitch = fpVariable |
95 | | - Font.Style = [] |
96 | | - ParentFont = False |
97 | | - ScrollBars = ssBoth |
98 | | - TabOrder = 2 |
99 | | - end |
100 | | - object PythonEngine1: TPythonEngine |
101 | | - IO = PythonGUIInputOutput1 |
102 | | - Left = 32 |
103 | | - end |
104 | | - object OpenDialog1: TOpenDialog |
105 | | - DefaultExt = '*.py' |
106 | | - Filter = 'Python files|*.py|Text files|*.txt|All files|*.*' |
107 | | - Title = 'Open' |
108 | | - Left = 176 |
109 | | - end |
110 | | - object SaveDialog1: TSaveDialog |
111 | | - DefaultExt = '*.py' |
112 | | - Filter = 'Python files|*.py|Text files|*.txt|All files|*.*' |
113 | | - Title = 'Save As' |
114 | | - Left = 208 |
115 | | - end |
116 | | - object PythonGUIInputOutput1: TPythonGUIInputOutput |
117 | | - UnicodeIO = True |
118 | | - RawOutput = False |
119 | | - Output = Memo2 |
120 | | - Left = 64 |
121 | | - end |
122 | | -end |
| 1 | +object Form1: TForm1 |
| 2 | + Left = 241 |
| 3 | + Top = 155 |
| 4 | + Width = 544 |
| 5 | + Height = 375 |
| 6 | + VertScrollBar.Range = 200 |
| 7 | + ActiveControl = Button1 |
| 8 | + Caption = 'Demo of Python' |
| 9 | + Color = clBtnFace |
| 10 | + Font.Charset = DEFAULT_CHARSET |
| 11 | + Font.Color = clWindowText |
| 12 | + Font.Height = 11 |
| 13 | + Font.Name = 'MS Sans Serif' |
| 14 | + Font.Pitch = fpVariable |
| 15 | + Font.Style = [] |
| 16 | + OldCreateOrder = True |
| 17 | + PixelsPerInch = 96 |
| 18 | + TextHeight = 13 |
| 19 | + object Splitter1: TSplitter |
| 20 | + Left = 0 |
| 21 | + Top = 153 |
| 22 | + Width = 528 |
| 23 | + Height = 3 |
| 24 | + Cursor = crVSplit |
| 25 | + Align = alTop |
| 26 | + Color = clBtnFace |
| 27 | + ParentColor = False |
| 28 | + ExplicitWidth = 536 |
| 29 | + end |
| 30 | + object Memo1: TMemo |
| 31 | + Left = 0 |
| 32 | + Top = 156 |
| 33 | + Width = 528 |
| 34 | + Height = 136 |
| 35 | + Align = alClient |
| 36 | + Font.Charset = DEFAULT_CHARSET |
| 37 | + Font.Color = clWindowText |
| 38 | + Font.Height = -13 |
| 39 | + Font.Name = 'Consolas' |
| 40 | + Font.Pitch = fpVariable |
| 41 | + Font.Style = [] |
| 42 | + Lines.Strings = ( |
| 43 | + 'print(2+2)') |
| 44 | + ParentFont = False |
| 45 | + ScrollBars = ssBoth |
| 46 | + TabOrder = 1 |
| 47 | + end |
| 48 | + object Panel1: TPanel |
| 49 | + Left = 0 |
| 50 | + Top = 292 |
| 51 | + Width = 528 |
| 52 | + Height = 44 |
| 53 | + Align = alBottom |
| 54 | + BevelOuter = bvNone |
| 55 | + TabOrder = 0 |
| 56 | + object Button1: TButton |
| 57 | + Left = 6 |
| 58 | + Top = 8 |
| 59 | + Width = 115 |
| 60 | + Height = 25 |
| 61 | + Caption = 'Execute script' |
| 62 | + TabOrder = 0 |
| 63 | + OnClick = Button1Click |
| 64 | + end |
| 65 | + object Button2: TButton |
| 66 | + Left = 168 |
| 67 | + Top = 8 |
| 68 | + Width = 91 |
| 69 | + Height = 25 |
| 70 | + Caption = 'Load script...' |
| 71 | + TabOrder = 1 |
| 72 | + OnClick = Button2Click |
| 73 | + end |
| 74 | + object Button3: TButton |
| 75 | + Left = 264 |
| 76 | + Top = 8 |
| 77 | + Width = 89 |
| 78 | + Height = 25 |
| 79 | + Caption = 'Save script...' |
| 80 | + TabOrder = 2 |
| 81 | + OnClick = Button3Click |
| 82 | + end |
| 83 | + end |
| 84 | + object Memo2: TMemo |
| 85 | + Left = 0 |
| 86 | + Top = 0 |
| 87 | + Width = 528 |
| 88 | + Height = 153 |
| 89 | + Align = alTop |
| 90 | + Font.Charset = DEFAULT_CHARSET |
| 91 | + Font.Color = clWindowText |
| 92 | + Font.Height = -13 |
| 93 | + Font.Name = 'Consolas' |
| 94 | + Font.Pitch = fpVariable |
| 95 | + Font.Style = [] |
| 96 | + ParentFont = False |
| 97 | + ScrollBars = ssBoth |
| 98 | + TabOrder = 2 |
| 99 | + end |
| 100 | + object PythonEngine1: TPythonEngine |
| 101 | + IO = PythonGUIInputOutput1 |
| 102 | + Left = 32 |
| 103 | + end |
| 104 | + object OpenDialog1: TOpenDialog |
| 105 | + DefaultExt = '*.py' |
| 106 | + Filter = 'Python files|*.py|Text files|*.txt|All files|*.*' |
| 107 | + Title = 'Open' |
| 108 | + Left = 176 |
| 109 | + end |
| 110 | + object SaveDialog1: TSaveDialog |
| 111 | + DefaultExt = '*.py' |
| 112 | + Filter = 'Python files|*.py|Text files|*.txt|All files|*.*' |
| 113 | + Title = 'Save As' |
| 114 | + Left = 208 |
| 115 | + end |
| 116 | + object PythonGUIInputOutput1: TPythonGUIInputOutput |
| 117 | + UnicodeIO = True |
| 118 | + RawOutput = False |
| 119 | + Output = Memo2 |
| 120 | + Left = 64 |
| 121 | + end |
| 122 | +end |
0 commit comments