Skip to content

Commit 446c4e6

Browse files
author
pyscripter
committed
1 parent b59aeba commit 446c4e6

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

PythonForDelphi/Demos/Demo25/fmMain.dfm

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ object Main: TMain
55
Height = 561
66
VertScrollBar.Range = 356
77
ActiveControl = Memo1
8-
AutoScroll = False
98
Caption = 'VarPyth unit tests'
109
Color = clBtnFace
1110
Font.Charset = DEFAULT_CHARSET
@@ -21,24 +20,25 @@ object Main: TMain
2120
object Splitter1: TSplitter
2221
Left = 0
2322
Top = 249
24-
Width = 761
23+
Width = 753
2524
Height = 5
2625
Cursor = crVSplit
2726
Align = alTop
27+
ExplicitWidth = 761
2828
end
2929
object Memo1: TMemo
3030
Left = 0
3131
Top = 0
32-
Width = 761
32+
Width = 753
3333
Height = 249
3434
Align = alTop
3535
ScrollBars = ssVertical
3636
TabOrder = 0
3737
end
3838
object Panel1: TPanel
3939
Left = 0
40-
Top = 425
41-
Width = 761
40+
Top = 421
41+
Width = 753
4242
Height = 102
4343
Align = alBottom
4444
BevelOuter = bvNone
@@ -53,7 +53,7 @@ object Main: TMain
5353
object ProgressBar1: TProgressBar
5454
Left = 0
5555
Top = 86
56-
Width = 761
56+
Width = 753
5757
Height = 16
5858
Align = alBottom
5959
TabOrder = 15
@@ -231,8 +231,8 @@ object Main: TMain
231231
object Memo2: TMemo
232232
Left = 0
233233
Top = 254
234-
Width = 761
235-
Height = 171
234+
Width = 753
235+
Height = 167
236236
Align = alClient
237237
Lines.Strings = (
238238
'class XYZ(object):'
@@ -281,6 +281,8 @@ object Main: TMain
281281
Top = 48
282282
end
283283
object PythonGUIInputOutput1: TPythonGUIInputOutput
284+
UnicodeIO = False
285+
RawOutput = False
284286
Output = Memo1
285287
Left = 232
286288
Top = 48

PythonForDelphi/Demos/Demo25/fmMain.pas

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,6 @@ procedure TMain.btnTestStringsClick(Sender: TObject);
508508
Assert(a = '');
509509
Assert(String(a) = '');
510510

511-
{$IFDEF UNICODE_SUPPORT}
512511
// Unicode strings
513512
b := VarPythonEval( 'u"Hello world!"' );
514513
Assert( VarIsPythonUnicode(b) );
@@ -556,8 +555,6 @@ procedure TMain.btnTestStringsClick(Sender: TObject);
556555
Assert(String(a) = '');
557556
Assert(WideString(a) = '');
558557

559-
{$ENDIF}
560-
561558
// Done!
562559
Log('String test was Ok.');
563560
end;

0 commit comments

Comments
 (0)