gx.evt.autoSkip=false;function himh039(){this.ServerClass="HImh039";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV10AtdNroAux=gx.fn.getIntegerValue("vATDNROAUX",".");this.AV23IndOrigem=gx.fn.getControlValue("vINDORIGEM")};this.e112t2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e122t2_client=function(){this.executeServerEvent("ENTER",true)};this.e152t2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,12,16,17,18,19];this.GXLastCtrlId=19;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",15,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh039",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");this.Grid1Container.addSingleLineEdit("Nrolinha",16,"vNROLINHA","Linha","","NroLinha","int",0,"px",3,3,"right",null,[],"Nrolinha","NroLinha",true,0,false,false);this.Grid1Container.addSingleLineEdit("Codcampo",17,"vCODCAMPO","Campo","","CodCampo","char",0,"px",3,3,"left",null,[],"Codcampo","CodCampo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Codsubcampo",18,"vCODSUBCAMPO","Subcampo","","CodSubcampo","char",0,"px",1,1,"left",null,[],"Codsubcampo","CodSubcampo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Valconteudo",19,"vVALCONTEUDO","Conteúdo","","ValConteudo","char",0,"px",150,150,"left",null,[],"Valconteudo","ValConteudo",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[16]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vNROLINHA",gxz:"ZV11NroLinha",gxold:"OV11NroLinha",gxvar:"AV11NroLinha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11NroLinha=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11NroLinha=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vNROLINHA",gx.fn.currentGridRowImpl(15),gx.O.AV11NroLinha,0)},c2v:function(){gx.O.AV11NroLinha=this.val()},val:function(){return gx.fn.getGridIntegerValue("vNROLINHA",gx.fn.currentGridRowImpl(15),".")},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCODCAMPO",gxz:"ZV7CodCampo",gxold:"OV7CodCampo",gxvar:"AV7CodCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7CodCampo=a
},v2z:function(a){gx.O.ZV7CodCampo=a},v2c:function(){gx.fn.setGridControlValue("vCODCAMPO",gx.fn.currentGridRowImpl(15),gx.O.AV7CodCampo,0)},c2v:function(){gx.O.AV7CodCampo=this.val()},val:function(){return gx.fn.getGridControlValue("vCODCAMPO",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCODSUBCAMPO",gxz:"ZV8CodSubcampo",gxold:"OV8CodSubcampo",gxvar:"AV8CodSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8CodSubcampo=a
},v2z:function(a){gx.O.ZV8CodSubcampo=a},v2c:function(){gx.fn.setGridControlValue("vCODSUBCAMPO",gx.fn.currentGridRowImpl(15),gx.O.AV8CodSubcampo,0)},c2v:function(){gx.O.AV8CodSubcampo=this.val()},val:function(){return gx.fn.getGridControlValue("vCODSUBCAMPO",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:150,dec:0,sign:false,ro:0,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVALCONTEUDO",gxz:"ZV9ValConteudo",gxold:"OV9ValConteudo",gxvar:"AV9ValConteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9ValConteudo=a
},v2z:function(a){gx.O.ZV9ValConteudo=a},v2c:function(){gx.fn.setGridControlValue("vVALCONTEUDO",gx.fn.currentGridRowImpl(15),gx.O.AV9ValConteudo,0)},c2v:function(){gx.O.AV9ValConteudo=this.val()},val:function(){return gx.fn.getGridControlValue("vVALCONTEUDO",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.ZV11NroLinha=0;this.OV11NroLinha=0;this.ZV7CodCampo="";this.OV7CodCampo="";this.ZV8CodSubcampo="";this.OV8CodSubcampo="";this.ZV9ValConteudo="";this.OV9ValConteudo="";this.AV10AtdNroAux=0;
this.AV23IndOrigem="";this.AV11NroLinha=0;this.AV7CodCampo="";this.AV8CodSubcampo="";this.AV9ValConteudo="";this.A209DisCodSubc="";this.A202DicNroSequ=0;this.A203DicTipMate="";this.A211DisIndRecu="";this.A216DisNroSequ=0;this.A217DisTipEnti="";this.A200DicNroEtiq="";this.ServerEvents=["e112t2_client","e122t2_client","e152t2_client"];this.EnterCtrl=["CONFIRMAR"];this.VarControlMap.AV10AtdNroAux={id:"vATDNROAUX",grid:0,type:"int"};this.VarControlMap.AV23IndOrigem={id:"vINDORIGEM",grid:0,type:"char"};
this.SetStandaloneVars()}himh039.prototype=new gx.GxObject;gx.setParentObj(new himh039());