@@ -13,25 +13,22 @@ object Form1: TForm1
1313 Font.Name  = ' MS Sans Serif' 
1414 Font.Pitch = fpVariable
1515 Font.Style = []
16-  OldCreateOrder = True
1716 Visible = True
1817 OnCreate = FormCreate
19-  PixelsPerInch = 96 
2018 TextHeight = 13 
2119 object  Splitter1: TSplitter
2220 Left = 0 
2321 Top = 169 
24-  Width = 721 
22+  Width = 715 
2523 Height = 3 
2624 Cursor = crVSplit
2725 Align = alTop
28-  ExplicitWidth = 677 
2926 end 
3027 object  Memo1: TMemo
3128 Left = 0 
3229 Top = 172 
33-  Width = 721 
34-  Height = 395 
30+  Width = 715 
31+  Height = 378 
3532 Align = alClient
3633 Font.Charset = DEFAULT_CHARSET
3734 Font.Color = clWindowText
@@ -42,8 +39,8 @@ object Form1: TForm1
4239 Lines.Strings = (
4340
4441 ' from spam import DelphiVersion, MainForm, DVar, CreateComponent,' 
45-  '  Application, Screen, mrOk, Form, Button, CheckBox, OpenDialog,  ' 
46-  ' caFree' 
42+  '  Application, Screen, mrOk, Component,  Form, Button, CheckBox, O ' 
43+  ' penDialog,  caFree' 
4744
4845 ' from spam import Point, Monitor, DrawGrid, gdSelected, clBlue, s' 
4946 ' sCtrl, PageControl, TabSheet' 
@@ -493,6 +490,9 @@ object Form1: TForm1
493490 '  self.assertTrue(MainForm.Caption == ' 39 ' From TTestRTTIAcc' 
494491 ' ess.ObjectField' 39 ' )' 
495492 ' ' 
493+  '  def testInheritance(self):' 
494+  '  self.assertTrue(issubclass(Form, Component))' 
495+  '  self.assertTrue(issubclass(Button, Component))' 
496496 ' ' 
497497 ' if __name__ == ' 39 ' __main__' 39 ' :' 
498498 '  try:' 
@@ -506,8 +506,8 @@ object Form1: TForm1
506506 end 
507507 object  Panel1: TPanel
508508 Left = 0 
509-  Top = 567 
510-  Width = 721 
509+  Top = 550 
510+  Width = 715 
511511 Height = 41 
512512 Align = alBottom
513513 BevelOuter = bvNone
@@ -525,7 +525,7 @@ object Form1: TForm1
525525 object  Memo2: TMemo
526526 Left = 0 
527527 Top = 0 
528-  Width = 721 
528+  Width = 715 
529529 Height = 169 
530530 Align = alTop
531531 Font.Charset = DEFAULT_CHARSET
0 commit comments