Skip to content

Commit 547f656

Browse files
committed
Python code now Python 3 compatible; Memo font is now Consolas, size 10
1 parent 8b8d424 commit 547f656

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

Demos/Demo27/Unit1.dfm

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
object Form1: TForm1
22
Left = 192
33
Top = 114
4-
Width = 870
5-
Height = 640
64
Caption = 'Form1'
5+
ClientHeight = 601
6+
ClientWidth = 854
77
Color = clBtnFace
88
Font.Charset = DEFAULT_CHARSET
99
Font.Color = clWindowText
@@ -18,24 +18,36 @@ object Form1: TForm1
1818
Top = 24
1919
Width = 745
2020
Height = 281
21+
Font.Charset = DEFAULT_CHARSET
22+
Font.Color = clWindowText
23+
Font.Height = -13
24+
Font.Name = 'Consolas'
25+
Font.Style = []
26+
ParentFont = False
2127
TabOrder = 0
2228
end
2329
object Memo2: TMemo
2430
Left = 56
2531
Top = 320
2632
Width = 745
2733
Height = 217
34+
Font.Charset = DEFAULT_CHARSET
35+
Font.Color = clWindowText
36+
Font.Height = -13
37+
Font.Name = 'Consolas'
38+
Font.Style = []
2839
Lines.Strings = (
2940
'import test'
3041
'S=test.CreateMySeq()'
31-
'print S'
32-
'print len(S)'
33-
'print S[1]'
34-
'print S[1,2]'
35-
'print S[1:2]'
36-
'print S[1:20:2]'
37-
'print S[...]'
38-
'print S[1,4,5:8, 10:20:2, ...]')
42+
'print (S)'
43+
'print (len(S))'
44+
'print (S[1])'
45+
'print (S[1,2])'
46+
'print (S[1:2])'
47+
'print (S[1:20:2])'
48+
'print (S[...])'
49+
'print (S[1,4,5:8, 10:20:2, ...])')
50+
ParentFont = False
3951
TabOrder = 1
4052
end
4153
object Button1: TButton
@@ -53,6 +65,8 @@ object Form1: TForm1
5365
Top = 144
5466
end
5567
object PythonGUIInputOutput1: TPythonGUIInputOutput
68+
UnicodeIO = True
69+
RawOutput = False
5670
Output = Memo1
5771
Left = 40
5872
Top = 176

0 commit comments

Comments
 (0)