gx.evt.autoSkip=false;function himh164(){this.ServerClass="HImh164";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e12dt2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14dt1_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,"himh164",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit("Dsclinha",15,"vDSCLINHA","","","DscLinha","char",180,"px",34,34,"left",null,[],"Dsclinha","DscLinha",true,0,false,false);this.Grid1Container.addSingleLineEdit("Dsccodigo",16,"vDSCCODIGO","","","DscCodigo","char",165,"px",31,31,"left",null,[],"Dsccodigo","DscCodigo",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:34,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCLINHA",gxz:"ZV5DscLinha",gxold:"OV5DscLinha",gxvar:"AV5DscLinha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5DscLinha=a
},v2z:function(a){gx.O.ZV5DscLinha=a},v2c:function(){gx.fn.setGridControlValue("vDSCLINHA",gx.fn.currentGridRowImpl(14),gx.O.AV5DscLinha,0)},c2v:function(){gx.O.AV5DscLinha=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCLINHA",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"char",len:31,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCCODIGO",gxz:"ZV21DscCodigo",gxold:"OV21DscCodigo",gxvar:"AV21DscCodigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21DscCodigo=a
},v2z:function(a){gx.O.ZV21DscCodigo=a},v2c:function(){gx.fn.setGridControlValue("vDSCCODIGO",gx.fn.currentGridRowImpl(14),gx.O.AV21DscCodigo,0)},c2v:function(){gx.O.AV21DscCodigo=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCCODIGO",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.ZV5DscLinha="";this.OV5DscLinha="";this.ZV21DscCodigo="";this.OV21DscCodigo="";this.AV5DscLinha="";this.AV21DscCodigo="";this.A60AtdCodCamp="";this.A63AtdNro=0;this.ServerEvents=["e12dt2_client","e14dt1_client"];
this.VarControlMap.AV25AtdNroAnterior={id:"vATDNROANTERIOR",grid:0,type:"int"};this.VarControlMap.A60AtdCodCamp={id:"ATDCODCAMP",grid:0,type:"char"};this.VarControlMap.A63AtdNro={id:"ATDNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV25AtdNroAnterior"});this.Grid1Container.addRefreshingVar({rfrVar:"A60AtdCodCamp"});this.Grid1Container.addRefreshingVar({rfrVar:"A63AtdNro"});this.SetStandaloneVars()}himh164.prototype=new gx.GxObject;gx.setParentObj(new himh164());