gx.evt.autoSkip=false;function himh201(){this.ServerClass="HImh201";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e11g02_client=function(){this.executeServerEvent("'INSERIR'",false)};this.e12g02_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15g02_client=function(){this.executeServerEvent("'EDITARPOPUP'",true,arguments[0])};this.e16g02_client=function(){this.executeServerEvent("'APAGAR '",true,arguments[0])};this.e17g02_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e18g02_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,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,"himh201",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Imgeditar","vIMGEDITAR",26,0,"px",17,"px","e15g02_client","","");
this.Grid1Container.addSingleLineEdit("Grdnrosequencia",27,"vGRDNROSEQUENCIA","Seq","","GrdNroSequencia","int",0,"px",4,4,"right",null,[],"Grdnrosequencia","GrdNroSequencia",true,0,false,false);this.Grid1Container.addSingleLineEdit("Grdcodturma",28,"vGRDCODTURMA","Turma","","GrdCodTurma","char",0,"px",20,20,"left",null,[],"Grdcodturma","GrdCodTurma",true,0,false,false);this.Grid1Container.addComboBox("Grdindduplicarprazoemprestimo",29,"vGRDINDDUPLICARPRAZOEMPRESTIMO","Duplicar prazo empréstimo","GrdIndDuplicarPrazoEmprestimo","char",null,0,true,false,0,"px");
this.Grid1Container.addComboBox("Grddiadasemanaparadevolver",30,"vGRDDIADASEMANAPARADEVOLVER","Dia da semana para devolução","GrdDiaDaSemanaParaDevolver","char",null,0,true,false,0,"px");this.Grid1Container.addBitmap("&Imgexcluir","vIMGEXCLUIR",31,0,"px",17,"px","e16g02_client","","");this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK1",format:0,grid:0};
this.GXValidFnc[22]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vPARMTIPLEITOR",gxz:"ZV28ParmTipLeitor",gxold:"OV28ParmTipLeitor",gxvar:"AV28ParmTipLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28ParmTipLeitor=a},v2z:function(a){gx.O.ZV28ParmTipLeitor=a},v2c:function(){gx.fn.setControlValue("vPARMTIPLEITOR",gx.O.AV28ParmTipLeitor,0)},c2v:function(){gx.O.AV28ParmTipLeitor=this.val()},val:function(){return gx.fn.getControlValue("vPARMTIPLEITOR")
},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV16ImgEditar",gxold:"OV16ImgEditar",gxvar:"AV16ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16ImgEditar=a},v2z:function(a){gx.O.ZV16ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV16ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",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:"ZV35GrdNroSequencia",gxold:"OV35GrdNroSequencia",gxvar:"AV35GrdNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35GrdNroSequencia=gx.num.intval(a)},v2z:function(a){gx.O.ZV35GrdNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDNROSEQUENCIA",gx.fn.currentGridRowImpl(25),gx.O.AV35GrdNroSequencia,0)
},c2v:function(){gx.O.AV35GrdNroSequencia=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:20,dec:0,sign:false,ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDCODTURMA",gxz:"ZV36GrdCodTurma",gxold:"OV36GrdCodTurma",gxvar:"AV36GrdCodTurma",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36GrdCodTurma=a},v2z:function(a){gx.O.ZV36GrdCodTurma=a
},v2c:function(){gx.fn.setGridControlValue("vGRDCODTURMA",gx.fn.currentGridRowImpl(25),gx.O.AV36GrdCodTurma,0)},c2v:function(){gx.O.AV36GrdCodTurma=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDCODTURMA",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDINDDUPLICARPRAZOEMPRESTIMO",gxz:"ZV40GrdIndDuplicarPrazoEmprestimo",gxold:"OV40GrdIndDuplicarPrazoEmprestimo",gxvar:"AV40GrdIndDuplicarPrazoEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV40GrdIndDuplicarPrazoEmprestimo=a
},v2z:function(a){gx.O.ZV40GrdIndDuplicarPrazoEmprestimo=a},v2c:function(){gx.fn.setGridComboBoxValue("vGRDINDDUPLICARPRAZOEMPRESTIMO",gx.fn.currentGridRowImpl(25),gx.O.AV40GrdIndDuplicarPrazoEmprestimo)},c2v:function(){gx.O.AV40GrdIndDuplicarPrazoEmprestimo=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDINDDUPLICARPRAZOEMPRESTIMO",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDDIADASEMANAPARADEVOLVER",gxz:"ZV41GrdDiaDaSemanaParaDevolver",gxold:"OV41GrdDiaDaSemanaParaDevolver",gxvar:"AV41GrdDiaDaSemanaParaDevolver",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV41GrdDiaDaSemanaParaDevolver=a
},v2z:function(a){gx.O.ZV41GrdDiaDaSemanaParaDevolver=a},v2c:function(){gx.fn.setGridComboBoxValue("vGRDDIADASEMANAPARADEVOLVER",gx.fn.currentGridRowImpl(25),gx.O.AV41GrdDiaDaSemanaParaDevolver)},c2v:function(){gx.O.AV41GrdDiaDaSemanaParaDevolver=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDDIADASEMANAPARADEVOLVER",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEXCLUIR",gxz:"ZV17ImgExcluir",gxold:"OV17ImgExcluir",gxvar:"AV17ImgExcluir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17ImgExcluir=a
},v2z:function(a){gx.O.ZV17ImgExcluir=a},v2c:function(){},c2v:function(){gx.O.AV17ImgExcluir=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEXCLUIR",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.AV28ParmTipLeitor="";this.ZV28ParmTipLeitor="";this.OV28ParmTipLeitor="";this.ZV16ImgEditar="";this.OV16ImgEditar="";this.ZV35GrdNroSequencia=0;this.OV35GrdNroSequencia=0;this.ZV36GrdCodTurma="";this.OV36GrdCodTurma="";this.ZV40GrdIndDuplicarPrazoEmprestimo="";this.OV40GrdIndDuplicarPrazoEmprestimo="";
this.ZV41GrdDiaDaSemanaParaDevolver="";this.OV41GrdDiaDaSemanaParaDevolver="";this.ZV17ImgExcluir="";this.OV17ImgExcluir="";this.AV16ImgEditar="";this.AV35GrdNroSequencia=0;this.AV36GrdCodTurma="";this.AV40GrdIndDuplicarPrazoEmprestimo="";this.AV41GrdDiaDaSemanaParaDevolver="";this.AV17ImgExcluir="";this.ServerEvents=["e11g02_client","e12g02_client","e15g02_client","e16g02_client","e17g02_client","e18g02_client"];this.VarControlMap.AV34SdtRolTabelaGenerica={id:"vSDTROLTABELAGENERICA",grid:0,type:"CollSdtTabelaGenerica"};
this.Grid1Container.addRefreshingVar({rfrVar:"AV34SdtRolTabelaGenerica"});this.SetStandaloneVars()}himh201.prototype=new gx.GxObject;gx.setParentObj(new himh201());