Наследование 2

This commit is contained in:
Igor I
2024-03-25 20:27:33 +05:00
parent beea8a48e8
commit dd0a3f17ea
3 changed files with 13 additions and 5 deletions

View File

@ -13,8 +13,9 @@ var SRec_mas = new Array(); //List of all objects "EdtRec" (then something bette
class SRec extends TWin
{
constructor()
constructor(dialog,path)
{
super(dialog,path);
this.win=null;
this.rwin=null;
@ -45,6 +46,11 @@ class SRec extends TWin
this.onUpdate=null; //For call set function
this.onInsert=null; //For call set function
//TODO сделать наследование из класса TWin
this.parent=null; //родительское окно
this.childs=new Array(); //Подчинёные окна
}
applyReq(req,fn,node,xmldoc)