gx.evt.autoSkip=false;function himh293(){this.ServerClass="HImh293";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV17ParmNroTipo=gx.fn.getIntegerValue("vPARMNROTIPO",".")};this.e16k02_client=function(){this.executeServerEvent("'EDITAR'",true,arguments[0])};this.e17k02_client=function(){this.executeServerEvent("'EXCLUIR'",true,arguments[0])};this.e12k02_client=function(){this.executeServerEvent("'NOVO'",false)};
this.e13k02_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e18k02_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e19k02_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[2,13,15,18,20,22,26,27,28,29];this.GXLastCtrlId=29;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",25,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh293",[],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","e16k02_client","","");this.Grid1Container.addSingleLineEdit("Grdnrosequencia",27,"vGRDNROSEQUENCIA","Nro. Sequência","","GrdNroSequencia","int",0,"px",4,4,"right",null,[],"Grdnrosequencia","GrdNroSequencia",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdnom",28,"vGRDNOM","Nome","","GrdNom","char",0,"px",100,100,"left",null,[],"Grdnom","GrdNom",true,0,false,false);this.Grid1Container.addBitmap("&Grdimgexcluir","vGRDIMGEXCLUIR",29,0,"px",17,"px","e17k02_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:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROTIPO",gxz:"ZV15ScrNroTipo",gxold:"OV15ScrNroTipo",gxvar:"AV15ScrNroTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15ScrNroTipo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV15ScrNroTipo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROTIPO",gx.O.AV15ScrNroTipo,0)},c2v:function(){gx.O.AV15ScrNroTipo=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROTIPO",".")},nac:function(){return false}};this.GXValidFnc[22]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNOMTIPO",gxz:"ZV16ScrNomTipo",gxold:"OV16ScrNomTipo",gxvar:"AV16ScrNomTipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16ScrNomTipo=a
},v2z:function(a){gx.O.ZV16ScrNomTipo=a},v2c:function(){gx.fn.setControlValue("vSCRNOMTIPO",gx.O.AV16ScrNomTipo,0)},c2v:function(){gx.O.AV16ScrNomTipo=this.val()},val:function(){return gx.fn.getControlValue("vSCRNOMTIPO")},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:"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[28]={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[29]={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.AV15ScrNroTipo=0;this.ZV15ScrNroTipo=0;this.OV15ScrNroTipo=0;this.AV16ScrNomTipo="";this.ZV16ScrNomTipo="";this.OV16ScrNomTipo="";this.ZV5GrdImgEditar="";this.OV5GrdImgEditar="";this.ZV6GrdNroSequencia=0;this.OV6GrdNroSequencia=0;this.ZV7GrdNom="";this.OV7GrdNom="";
this.ZV8GrdImgExcluir="";this.OV8GrdImgExcluir="";this.AV17ParmNroTipo=0;this.AV5GrdImgEditar="";this.AV6GrdNroSequencia=0;this.AV7GrdNom="";this.AV8GrdImgExcluir="";this.ServerEvents=["e16k02_client","e17k02_client","e12k02_client","e13k02_client","e18k02_client","e19k02_client"];this.VarControlMap.AV17ParmNroTipo={id:"vPARMNROTIPO",grid:0,type:"int"};this.VarControlMap.AV12SdtRolListaTiposClassificacao={id:"vSDTROLLISTATIPOSCLASSIFICACAO",grid:0,type:"CollSdtTabelaGenerica"};this.Grid1Container.addRefreshingVar({rfrVar:"AV8GrdImgExcluir",rfrProp:"Jsonclick"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV12SdtRolListaTiposClassificacao"});this.SetStandaloneVars()}himh293.prototype=new gx.GxObject;gx.setParentObj(new himh293());