gx.evt.autoSkip=false;function hmih040(){this.ServerClass="HMih040";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e207r1_client=function(){this.clearMessages();this.addMessage("Em desenvolvimento...");this.refreshOutputs([])};this.e117r2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e127r2_client=function(){this.executeServerEvent("HOME.CLICK",true)};this.e137r2_client=function(){this.executeServerEvent("GO.CLICK",true)
};this.e147r2_client=function(){this.executeServerEvent("'LAST'",false)};this.e157r2_client=function(){this.executeServerEvent("'FIRST'",false)};this.e167r2_client=function(){this.executeServerEvent("'NEXT'",false)};this.e197r2_client=function(){this.executeServerEvent("'PREVIOUS'",true,arguments[0])};this.e217r1_client=function(){this.executeServerEvent("ENTER",true)};this.e227r2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,6,9,23,28,29,33];
this.GXLastCtrlId=33;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",32,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hmih040",[],false,1,false,true,10,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit("Autlivre",33,"vAUTLIVRE","Autor livre","","AutLivre","int",0,"px",6,6,"right",null,[],"Autlivre","AutLivre",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[23]={fld:"HOME",grid:0};this.GXValidFnc[28]={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[29]={fld:"GO",grid:0};this.GXValidFnc[33]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:32,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vAUTLIVRE",gxz:"ZV14AutLivre",gxold:"OV14AutLivre",gxvar:"AV14AutLivre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV14AutLivre=gx.num.intval(a)},v2z:function(a){gx.O.ZV14AutLivre=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vAUTLIVRE",gx.fn.currentGridRowImpl(32),gx.O.AV14AutLivre,1)
},c2v:function(){gx.O.AV14AutLivre=this.val()},val:function(){return gx.fn.getGridIntegerValue("vAUTLIVRE",gx.fn.currentGridRowImpl(32),".")},nac:function(){return false}};this.AV16IrPara="";this.ZV16IrPara="";this.OV16IrPara="";this.ZV14AutLivre=0;this.OV14AutLivre=0;this.AV14AutLivre=0;this.A74AutNro=0;this.A71AutNom="";this.ServerEvents=["e117r2_client","e127r2_client","e137r2_client","e147r2_client","e157r2_client","e167r2_client","e197r2_client","e217r1_client","e227r2_client"];this.EnterCtrl=["BTN_ENTER1"];
this.VarControlMap.AV10QtdAchado={id:"vQTDACHADO",grid:0,type:"int"};this.VarControlMap.A71AutNom={id:"AUTNOM",grid:0,type:"char"};this.VarControlMap.AV15AutNroFim={id:"vAUTNROFIM",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar({rfrVar:"AV10QtdAchado"});this.Subfile1Container.addRefreshingVar({rfrVar:"A71AutNom"});this.Subfile1Container.addRefreshingVar({rfrVar:"AV15AutNroFim"});this.SetStandaloneVars()}hmih040.prototype=new gx.GxObject;gx.setParentObj(new hmih040());