var TObject={
$ClassName: "TObject",
$Parent: null,
ClassName: function (s) { return s.$ClassName },
ClassType: function (s) { return s },
ClassParent: function (s) { return s.$Parent },
$Init: function () {},
Create: function (s) { return s },
Destroy: function (s) { for (var prop in s) if (s.hasOwnProperty(prop)) delete s.prop },
Destroy$: function(s) { return s.ClassType.Destroy(s) },
Free: function (s) { if (s!==null) s.ClassType.Destroy(s) }
}
InitializeObject:function(Self) {
TW3CustomControl.InitializeObject(Self);
TW3CustomForm.setCaption(Self,"W3Form");
TW3Component.SetName(Self,"Form1");
DoStuff1();
}
|