gx.evt.autoSkip=false;function hzmdref(){this.ServerClass="HZMdRef";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV7TidIndForm=gx.fn.getControlValue("vTIDINDFORM")};this.e11dl2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14dl1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,16];this.GXLastCtrlId=16;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",14,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hzmdref",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit("Codmodelo",15,"vCODMODELO","Modelo","","CodModelo","char",49,"px",3,3,"left",null,[],"Codmodelo","CodModelo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Dscmodelo",16,"vDSCMODELO","Descrição","","DscModelo","char",310,"px",50,50,"left",null,[],"Dscmodelo","DscModelo",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCODMODELO",gxz:"ZV5CodModelo",gxold:"OV5CodModelo",gxvar:"AV5CodModelo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5CodModelo=a
},v2z:function(a){gx.O.ZV5CodModelo=a},v2c:function(){gx.fn.setGridControlValue("vCODMODELO",gx.fn.currentGridRowImpl(14),gx.O.AV5CodModelo,0)},c2v:function(){gx.O.AV5CodModelo=this.val()},val:function(){return gx.fn.getGridControlValue("vCODMODELO",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCMODELO",gxz:"ZV6DscModelo",gxold:"OV6DscModelo",gxvar:"AV6DscModelo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6DscModelo=a
},v2z:function(a){gx.O.ZV6DscModelo=a},v2c:function(){gx.fn.setGridControlValue("vDSCMODELO",gx.fn.currentGridRowImpl(14),gx.O.AV6DscModelo,0)},c2v:function(){gx.O.AV6DscModelo=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCMODELO",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.ZV5CodModelo="";this.OV5CodModelo="";this.ZV6DscModelo="";this.OV6DscModelo="";this.AV7TidIndForm="";this.AV5CodModelo="";this.AV6DscModelo="";this.ServerEvents=["e11dl2_client","e14dl1_client"];
this.VarControlMap.AV7TidIndForm={id:"vTIDINDFORM",grid:0,type:"char"};this.SetStandaloneVars()}hzmdref.prototype=new gx.GxObject;gx.setParentObj(new hzmdref());