gx.evt.autoSkip=false;function himh296(){this.ServerClass="HImh296";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV19ParmCodLeitor=gx.fn.getControlValue("vPARMCODLEITOR")};this.e16k32_client=function(){this.executeServerEvent("'EDITAR'",true,arguments[0])};this.e17k32_client=function(){this.executeServerEvent("'EXCLUIR'",true,arguments[0])};this.e12k32_client=function(){this.executeServerEvent("'NOVO'",false)
};this.e13k32_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e18k32_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e19k32_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,13,15,18,20,22,26,27,28,29,30,31];this.GXLastCtrlId=31;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",25,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh296",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Grdimgeditar","vGRDIMGEDITAR",26,0,"px",17,"px","e16k32_client","","");this.Grid1Container.addSingleLineEdit("Grdnrotipo",27,"vGRDNROTIPO","Grd Nro Tipo","","GrdNroTipo","int",0,"px",4,4,"right",null,[],"Grdnrotipo","GrdNroTipo",false,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnrosequencia",28,"vGRDNROSEQUENCIA","Nro. Sequência","","GrdNroSequencia","int",0,"px",4,4,"right",null,[],"Grdnrosequencia","GrdNroSequencia",false,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnomtipo",29,"vGRDNOMTIPO","Tipo","","GrdNomTipo","char",0,"px",100,100,"left",null,[],"Grdnomtipo","GrdNomTipo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdnom",30,"vGRDNOM","Detalhe","","GrdNom","char",0,"px",100,100,"left",null,[],"Grdnom","GrdNom",true,0,false,false);this.Grid1Container.addBitmap("&Grdimgexcluir","vGRDIMGEXCLUIR",31,0,"px",17,"px","e17k32_client","","");this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODLEITOR",gxz:"ZV22ScrCodLeitor",gxold:"OV22ScrCodLeitor",gxvar:"AV22ScrCodLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22ScrCodLeitor=a
},v2z:function(a){gx.O.ZV22ScrCodLeitor=a},v2c:function(){gx.fn.setControlValue("vSCRCODLEITOR",gx.O.AV22ScrCodLeitor,0)},c2v:function(){gx.O.AV22ScrCodLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODLEITOR")},nac:function(){return false}};this.GXValidFnc[22]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMLEITOR",gxz:"ZV23ScrNomLeitor",gxold:"OV23ScrNomLeitor",gxvar:"AV23ScrNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23ScrNomLeitor=a
},v2z:function(a){gx.O.ZV23ScrNomLeitor=a},v2c:function(){gx.fn.setControlValue("vSCRNOMLEITOR",gx.O.AV23ScrNomLeitor,0)},c2v:function(){gx.O.AV23ScrNomLeitor=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMLEITOR")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGEDITAR",gxz:"ZV5GrdImgEditar",gxold:"OV5GrdImgEditar",gxvar:"AV5GrdImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5GrdImgEditar=a
},v2z:function(a){gx.O.ZV5GrdImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV5GrdImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGEDITAR",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROTIPO",gxz:"ZV20GrdNroTipo",gxold:"OV20GrdNroTipo",gxvar:"AV20GrdNroTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20GrdNroTipo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV20GrdNroTipo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROTIPO",gx.fn.currentGridRowImpl(25),gx.O.AV20GrdNroTipo,0)},c2v:function(){gx.O.AV20GrdNroTipo=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROTIPO",gx.fn.currentGridRowImpl(25),".")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROSEQUENCIA",gxz:"ZV6GrdNroSequencia",gxold:"OV6GrdNroSequencia",gxvar:"AV6GrdNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6GrdNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6GrdNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROSEQUENCIA",gx.fn.currentGridRowImpl(25),gx.O.AV6GrdNroSequencia,0)},c2v:function(){gx.O.AV6GrdNroSequencia=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROSEQUENCIA",gx.fn.currentGridRowImpl(25),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOMTIPO",gxz:"ZV18GrdNomTipo",gxold:"OV18GrdNomTipo",gxvar:"AV18GrdNomTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18GrdNomTipo=a
},v2z:function(a){gx.O.ZV18GrdNomTipo=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMTIPO",gx.fn.currentGridRowImpl(25),gx.O.AV18GrdNomTipo,0)},c2v:function(){gx.O.AV18GrdNomTipo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMTIPO",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOM",gxz:"ZV7GrdNom",gxold:"OV7GrdNom",gxvar:"AV7GrdNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7GrdNom=a
},v2z:function(a){gx.O.ZV7GrdNom=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOM",gx.fn.currentGridRowImpl(25),gx.O.AV7GrdNom,0)},c2v:function(){gx.O.AV7GrdNom=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOM",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGEXCLUIR",gxz:"ZV8GrdImgExcluir",gxold:"OV8GrdImgExcluir",gxvar:"AV8GrdImgExcluir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8GrdImgExcluir=a
},v2z:function(a){gx.O.ZV8GrdImgExcluir=a},v2c:function(){},c2v:function(){gx.O.AV8GrdImgExcluir=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGEXCLUIR",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.AV22ScrCodLeitor="";this.ZV22ScrCodLeitor="";this.OV22ScrCodLeitor="";this.AV23ScrNomLeitor="";this.ZV23ScrNomLeitor="";this.OV23ScrNomLeitor="";this.ZV5GrdImgEditar="";this.OV5GrdImgEditar="";this.ZV20GrdNroTipo=0;this.OV20GrdNroTipo=0;this.ZV6GrdNroSequencia=0;
this.OV6GrdNroSequencia=0;this.ZV18GrdNomTipo="";this.OV18GrdNomTipo="";this.ZV7GrdNom="";this.OV7GrdNom="";this.ZV8GrdImgExcluir="";this.OV8GrdImgExcluir="";this.AV19ParmCodLeitor="";this.AV5GrdImgEditar="";this.AV20GrdNroTipo=0;this.AV6GrdNroSequencia=0;this.AV18GrdNomTipo="";this.AV7GrdNom="";this.AV8GrdImgExcluir="";this.ServerEvents=["e16k32_client","e17k32_client","e12k32_client","e13k32_client","e18k32_client","e19k32_client"];this.VarControlMap.AV19ParmCodLeitor={id:"vPARMCODLEITOR",grid:0,type:"char"};
this.VarControlMap.AV12SdtRolListaTiposClassificacao={id:"vSDTROLLISTATIPOSCLASSIFICACAO",grid:0,type:"CollSdtTabelaGenerica"};this.Grid1Container.addRefreshingVar({rfrVar:"AV8GrdImgExcluir",rfrProp:"Jsonclick"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12SdtRolListaTiposClassificacao"});this.SetStandaloneVars()}himh296.prototype=new gx.GxObject;gx.setParentObj(new himh296());