gx.evt.autoSkip=false;function hmih044(){this.ServerClass="HMih044";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e207u2_client=function(){this.clearMessages();this.refreshOutputs([])};this.e117u2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e127u2_client=function(){this.executeServerEvent("HOME.CLICK",true)};this.e137u2_client=function(){this.executeServerEvent("GO.CLICK",true)};this.e147u2_client=function(){this.executeServerEvent("'LAST'",false)
};this.e157u2_client=function(){this.executeServerEvent("'FIRST'",false)};this.e167u2_client=function(){this.executeServerEvent("'NEXT'",false)};this.e197u2_client=function(){this.executeServerEvent("'PREVIOUS'",true,arguments[0])};this.e217u1_client=function(){this.executeServerEvent("ENTER",true)};this.e227u2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,6,9,21,26,27,31];this.GXLastCtrlId=31;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",30,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hmih044",[],false,1,false,true,10,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit("Pchnrolivr",31,"vPCHNROLIVR","Número livre","","PchNroLivr","int",0,"px",6,6,"right",null,[],"Pchnrolivr","PchNroLivr",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[6]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[21]={fld:"HOME",grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vIRPARA",gxz:"ZV16IrPara",gxold:"OV16IrPara",gxvar:"AV16IrPara",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16IrPara=a
},v2z:function(a){gx.O.ZV16IrPara=a},v2c:function(){gx.fn.setControlValue("vIRPARA",gx.O.AV16IrPara,0)},c2v:function(){gx.O.AV16IrPara=this.val()},val:function(){return gx.fn.getControlValue("vIRPARA")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GO",grid:0};this.GXValidFnc[31]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:30,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vPCHNROLIVR",gxz:"ZV14PchNroLivr",gxold:"OV14PchNroLivr",gxvar:"AV14PchNroLivr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14PchNroLivr=gx.num.intval(a)
},v2z:function(a){gx.O.ZV14PchNroLivr=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vPCHNROLIVR",gx.fn.currentGridRowImpl(30),gx.O.AV14PchNroLivr,1)},c2v:function(){gx.O.AV14PchNroLivr=this.val()},val:function(){return gx.fn.getGridIntegerValue("vPCHNROLIVR",gx.fn.currentGridRowImpl(30),".")},nac:function(){return false}};this.AV16IrPara="";this.ZV16IrPara="";this.OV16IrPara="";this.ZV14PchNroLivr=0;this.OV14PchNroLivr=0;this.AV14PchNroLivr=0;this.A193PchNro=0;this.A192PchDes="";this.ServerEvents=["e117u2_client","e127u2_client","e137u2_client","e147u2_client","e157u2_client","e167u2_client","e197u2_client","e217u1_client","e227u2_client"];
this.EnterCtrl=["BTN_ENTER1"];this.VarControlMap.AV10QtdAchado={id:"vQTDACHADO",grid:0,type:"int"};this.VarControlMap.A192PchDes={id:"PCHDES",grid:0,type:"char"};this.VarControlMap.AV15PchNroFim={id:"vPCHNROFIM",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"AV10QtdAchado"});this.Subfile1Container.addRefreshingVar({rfrVar:"A192PchDes"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV15PchNroFim"});this.SetStandaloneVars()}hmih044.prototype=new gx.GxObject;gx.setParentObj(new hmih044());