gx.evt.autoSkip=false;function himh141(){this.ServerClass="HImh141";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.addKeyListener("6","e116m2_client");this.SetStandaloneVars=function(){};this.e116m2_client=function(){this.executeServerEvent("'INSERIR'",false)};this.e126m2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e136m2_client=function(){this.executeServerEvent("'IR PARA'",false)};this.e176m2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e186m2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,12,16,19,23,24,25,26,27];this.GXLastCtrlId=27;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",22,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh141",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Grdnrolocaltrabalho",23,"vGRDNROLOCALTRABALHO","Nro","","GrdNroLocalTrabalho","int",0,"px",5,5,"right",null,[],"Grdnrolocaltrabalho","GrdNroLocalTrabalho",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Grdnomlocaltrabalho",24,"vGRDNOMLOCALTRABALHO","Nome","","GrdNomLocalTrabalho","char",0,"px",40,40,"left",null,[],"Grdnomlocaltrabalho","GrdNomLocalTrabalho",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grddsclinksetor",25,"vGRDDSCLINKSETOR","","","GrdDscLinkSetor","char",0,"px",7,7,"left",null,[],"Grddsclinksetor","GrdDscLinkSetor",true,0,false,false);this.Grid1Container.addBitmap("&Imgeditar","vIMGEDITAR",26,0,"px",17,"px",null,"","");this.Grid1Container.addBitmap("&Imgexcluir","vIMGEXCLUIR",27,0,"px",17,"px",null,"","");
this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vLTRNRONAVEGAR",gxz:"ZV36LtrNroNavegar",gxold:"OV36LtrNroNavegar",gxvar:"AV36LtrNroNavegar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36LtrNroNavegar=gx.num.intval(a)},v2z:function(a){gx.O.ZV36LtrNroNavegar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vLTRNRONAVEGAR",gx.O.AV36LtrNroNavegar,0)
},c2v:function(){gx.O.AV36LtrNroNavegar=this.val()},val:function(){return gx.fn.getIntegerValue("vLTRNRONAVEGAR",".")},nac:function(){return false}};this.GXValidFnc[16]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[19]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[23]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDNROLOCALTRABALHO",gxz:"ZV30GrdNroLocalTrabalho",gxold:"OV30GrdNroLocalTrabalho",gxvar:"AV30GrdNroLocalTrabalho",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30GrdNroLocalTrabalho=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30GrdNroLocalTrabalho=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROLOCALTRABALHO",gx.fn.currentGridRowImpl(22),gx.O.AV30GrdNroLocalTrabalho,0)},c2v:function(){gx.O.AV30GrdNroLocalTrabalho=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDNROLOCALTRABALHO",gx.fn.currentGridRowImpl(22),".")},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDNOMLOCALTRABALHO",gxz:"ZV31GrdNomLocalTrabalho",gxold:"OV31GrdNomLocalTrabalho",gxvar:"AV31GrdNomLocalTrabalho",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV31GrdNomLocalTrabalho=a
},v2z:function(a){gx.O.ZV31GrdNomLocalTrabalho=a},v2c:function(){gx.fn.setGridControlValue("vGRDNOMLOCALTRABALHO",gx.fn.currentGridRowImpl(22),gx.O.AV31GrdNomLocalTrabalho,0)},c2v:function(){gx.O.AV31GrdNomLocalTrabalho=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDNOMLOCALTRABALHO",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"char",len:7,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDSCLINKSETOR",gxz:"ZV35GrdDscLinkSetor",gxold:"OV35GrdDscLinkSetor",gxvar:"AV35GrdDscLinkSetor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35GrdDscLinkSetor=a
},v2z:function(a){gx.O.ZV35GrdDscLinkSetor=a},v2c:function(){gx.fn.setGridControlValue("vGRDDSCLINKSETOR",gx.fn.currentGridRowImpl(22),gx.O.AV35GrdDscLinkSetor,0)},c2v:function(){gx.O.AV35GrdDscLinkSetor=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDSCLINKSETOR",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV25ImgEditar",gxold:"OV25ImgEditar",gxvar:"AV25ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV25ImgEditar=a
},v2z:function(a){gx.O.ZV25ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV25ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEXCLUIR",gxz:"ZV26ImgExcluir",gxold:"OV26ImgExcluir",gxvar:"AV26ImgExcluir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26ImgExcluir=a
},v2z:function(a){gx.O.ZV26ImgExcluir=a},v2c:function(){},c2v:function(){gx.O.AV26ImgExcluir=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEXCLUIR",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.AV36LtrNroNavegar=0;this.ZV36LtrNroNavegar=0;this.OV36LtrNroNavegar=0;this.ZV30GrdNroLocalTrabalho=0;this.OV30GrdNroLocalTrabalho=0;this.ZV31GrdNomLocalTrabalho="";this.OV31GrdNomLocalTrabalho="";this.ZV35GrdDscLinkSetor="";this.OV35GrdDscLinkSetor="";this.ZV25ImgEditar="";
this.OV25ImgEditar="";this.ZV26ImgExcluir="";this.OV26ImgExcluir="";this.AV30GrdNroLocalTrabalho=0;this.AV31GrdNomLocalTrabalho="";this.AV35GrdDscLinkSetor="";this.AV25ImgEditar="";this.AV26ImgExcluir="";this.ServerEvents=["e116m2_client","e126m2_client","e136m2_client","e176m2_client","e186m2_client"];this.VarControlMap.AV32QtdLocais={id:"vQTDLOCAIS",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV32QtdLocais"});this.SetStandaloneVars()}himh141.prototype=new gx.GxObject;gx.setParentObj(new himh141());