gx.evt.autoSkip=false;function himh028(){this.ServerClass="HImh028";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e110i2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e120i2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e130i2_client=function(){this.executeServerEvent("'DE / PARA'",false)};this.e140i2_client=function(){this.executeServerEvent("'IR PARA'",false)};this.e170i2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e180i2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,16,20,24,25,26,27,28,29,30,31,32];this.GXLastCtrlId=32;this.GridContainer=new gx.grid.grid(this,2,"WbpLvl2",23,"Grid","Grid","GridContainer",this.CmpContext,this.IsMasterPage,"himh028",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.GridContainer.addBitmap("&Imgeditar","vIMGEDITAR",24,0,"px",17,"px",null,"","");this.GridContainer.addSingleLineEdit(79,25,"CAECOD","Categoria","","CaeCod","int",0,"px",3,3,"right",null,[],79,"CaeCod",true,0,false,false);
this.GridContainer.addSingleLineEdit(84,26,"CAENOM","Descrição","","CaeNom","char",0,"px",30,30,"left",null,[],84,"CaeNom",true,0,false,false);this.GridContainer.addComboBox("Caeindpodereservar",27,"vCAEINDPODERESERVAR","Pode reservar","CaeIndPodeReservar","char",null,0,true,false,0,"px");this.GridContainer.addSingleLineEdit(1123,28,"CAEQTDRENO","Qtd.renovações","","CaeQtdReno","int",0,"px",3,3,"right",null,[],1123,"CaeQtdReno",true,0,false,false);this.GridContainer.addComboBox(83,29,"CAEINDVESP","Véspera feriado / fim de semana","CaeIndVesp","char",null,0,true,false,0,"px");
this.GridContainer.addComboBox(1016,30,"CAEINDACUM","Acumular quantidade","CaeIndAcum","char",null,0,true,false,0,"px");this.GridContainer.addSingleLineEdit(81,31,"CAEDESTEXT","Texto etiq. lombada","","CaeDesText","char",0,"px",10,10,"left",null,[],81,"CaeDesText",true,0,false,false);this.GridContainer.addSingleLineEdit("Caeindpedeconfirmacaonoemprestimo",32,"vCAEINDPEDECONFIRMACAONOEMPRESTIMO","Confirmar empréstimo","","CaeIndPedeConfirmacaoNoEmprestimo","char",0,"px",1,1,"left",null,[],"Caeindpedeconfirmacaonoemprestimo","CaeIndPedeConfirmacaoNoEmprestimo",true,0,false,false);
this.setGrid(this.GridContainer);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[16]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vCAECODNAVEGAR",gxz:"ZV27CaeCodNavegar",gxold:"OV27CaeCodNavegar",gxvar:"AV27CaeCodNavegar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27CaeCodNavegar=gx.num.intval(a)},v2z:function(a){gx.O.ZV27CaeCodNavegar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCAECODNAVEGAR",gx.O.AV27CaeCodNavegar,0)
},c2v:function(){gx.O.AV27CaeCodNavegar=this.val()},val:function(){return gx.fn.getIntegerValue("vCAECODNAVEGAR",".")},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[24]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV26ImgEditar",gxold:"OV26ImgEditar",gxvar:"AV26ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26ImgEditar=a},v2z:function(a){gx.O.ZV26ImgEditar=a
},v2c:function(){},c2v:function(){gx.O.AV26ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"CAECOD",gxz:"Z79CaeCod",gxold:"O79CaeCod",gxvar:"A79CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A79CaeCod=gx.num.intval(a)},v2z:function(a){gx.O.Z79CaeCod=gx.num.intval(a)
},v2c:function(){gx.fn.setGridControlValue("CAECOD",gx.fn.currentGridRowImpl(23),gx.O.A79CaeCod,0)},c2v:function(){gx.O.A79CaeCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("CAECOD",gx.fn.currentGridRowImpl(23),".")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,fld:"CAENOM",gxz:"Z84CaeNom",gxold:"O84CaeNom",gxvar:"A84CaeNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A84CaeNom=a
},v2z:function(a){gx.O.Z84CaeNom=a},v2c:function(){gx.fn.setGridControlValue("CAENOM",gx.fn.currentGridRowImpl(23),gx.O.A84CaeNom,0)},c2v:function(){gx.O.A84CaeNom=this.val()},val:function(){return gx.fn.getGridControlValue("CAENOM",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,fld:"vCAEINDPODERESERVAR",gxz:"ZV32CaeIndPodeReservar",gxold:"OV32CaeIndPodeReservar",gxvar:"AV32CaeIndPodeReservar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV32CaeIndPodeReservar=a
},v2z:function(a){gx.O.ZV32CaeIndPodeReservar=a},v2c:function(){gx.fn.setGridComboBoxValue("vCAEINDPODERESERVAR",gx.fn.currentGridRowImpl(23),gx.O.AV32CaeIndPodeReservar)},c2v:function(){gx.O.AV32CaeIndPodeReservar=this.val()},val:function(){return gx.fn.getGridControlValue("vCAEINDPODERESERVAR",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"CAEQTDRENO",gxz:"Z1123CaeQtdReno",gxold:"O1123CaeQtdReno",gxvar:"A1123CaeQtdReno",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1123CaeQtdReno=gx.num.intval(a)
},v2z:function(a){gx.O.Z1123CaeQtdReno=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CAEQTDRENO",gx.fn.currentGridRowImpl(23),gx.O.A1123CaeQtdReno,0)},c2v:function(){gx.O.A1123CaeQtdReno=this.val()},val:function(){return gx.fn.getGridIntegerValue("CAEQTDRENO",gx.fn.currentGridRowImpl(23),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,fld:"CAEINDVESP",gxz:"Z83CaeIndVesp",gxold:"O83CaeIndVesp",gxvar:"A83CaeIndVesp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A83CaeIndVesp=a
},v2z:function(a){gx.O.Z83CaeIndVesp=a},v2c:function(){gx.fn.setGridComboBoxValue("CAEINDVESP",gx.fn.currentGridRowImpl(23),gx.O.A83CaeIndVesp)},c2v:function(){gx.O.A83CaeIndVesp=this.val()},val:function(){return gx.fn.getGridControlValue("CAEINDVESP",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,fld:"CAEINDACUM",gxz:"Z1016CaeIndAcum",gxold:"O1016CaeIndAcum",gxvar:"A1016CaeIndAcum",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1016CaeIndAcum=a
},v2z:function(a){gx.O.Z1016CaeIndAcum=a},v2c:function(){gx.fn.setGridComboBoxValue("CAEINDACUM",gx.fn.currentGridRowImpl(23),gx.O.A1016CaeIndAcum)},c2v:function(){gx.O.A1016CaeIndAcum=this.val()},val:function(){return gx.fn.getGridControlValue("CAEINDACUM",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,fld:"CAEDESTEXT",gxz:"Z81CaeDesText",gxold:"O81CaeDesText",gxvar:"A81CaeDesText",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A81CaeDesText=a
},v2z:function(a){gx.O.Z81CaeDesText=a},v2c:function(){gx.fn.setGridControlValue("CAEDESTEXT",gx.fn.currentGridRowImpl(23),gx.O.A81CaeDesText,0)},c2v:function(){gx.O.A81CaeDesText=this.val()},val:function(){return gx.fn.getGridControlValue("CAEDESTEXT",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:23,gxgrid:this.GridContainer,fnc:null,isvalid:null,fld:"vCAEINDPEDECONFIRMACAONOEMPRESTIMO",gxz:"ZV30CaeIndPedeConfirmacaoNoEmprestimo",gxold:"OV30CaeIndPedeConfirmacaoNoEmprestimo",gxvar:"AV30CaeIndPedeConfirmacaoNoEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30CaeIndPedeConfirmacaoNoEmprestimo=a
},v2z:function(a){gx.O.ZV30CaeIndPedeConfirmacaoNoEmprestimo=a},v2c:function(){gx.fn.setGridControlValue("vCAEINDPEDECONFIRMACAONOEMPRESTIMO",gx.fn.currentGridRowImpl(23),gx.O.AV30CaeIndPedeConfirmacaoNoEmprestimo,0)},c2v:function(){gx.O.AV30CaeIndPedeConfirmacaoNoEmprestimo=this.val()},val:function(){return gx.fn.getGridControlValue("vCAEINDPEDECONFIRMACAONOEMPRESTIMO",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.AV27CaeCodNavegar=0;this.ZV27CaeCodNavegar=0;this.OV27CaeCodNavegar=0;
this.ZV26ImgEditar="";this.OV26ImgEditar="";this.Z79CaeCod=0;this.O79CaeCod=0;this.Z84CaeNom="";this.O84CaeNom="";this.ZV32CaeIndPodeReservar="";this.OV32CaeIndPodeReservar="";this.Z1123CaeQtdReno=0;this.O1123CaeQtdReno=0;this.Z83CaeIndVesp="";this.O83CaeIndVesp="";this.Z1016CaeIndAcum="";this.O1016CaeIndAcum="";this.Z81CaeDesText="";this.O81CaeDesText="";this.ZV30CaeIndPedeConfirmacaoNoEmprestimo="";this.OV30CaeIndPedeConfirmacaoNoEmprestimo="";this.AV26ImgEditar="";this.A79CaeCod=0;this.A84CaeNom="";
this.AV32CaeIndPodeReservar="";this.A1123CaeQtdReno=0;this.A83CaeIndVesp="";this.A1016CaeIndAcum="";this.A81CaeDesText="";this.AV30CaeIndPedeConfirmacaoNoEmprestimo="";this.ServerEvents=["e110i2_client","e120i2_client","e130i2_client","e140i2_client","e170i2_client","e180i2_client"];this.VarControlMap.AV28CaeCampo1Livre={id:"vCAECAMPO1LIVRE",grid:0,type:"char"};this.GridContainer.addRefreshingVar({rfrVar:"AV28CaeCampo1Livre"});this.SetStandaloneVars()}himh028.prototype=new gx.GxObject;gx.setParentObj(new himh028());