gx.evt.autoSkip=false;function hzautor(){this.ServerClass="HZautor";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A73AutNomSemA=gx.fn.getControlValue("AUTNOMSEMA");this.AV16AutNro=gx.fn.getIntegerValue("vAUTNRO",".")};this.e117p2_client=function(){this.executeServerEvent("ENTER",true)};this.e127p2_client=function(){this.executeServerEvent("'LAST'",false)};this.e137p2_client=function(){this.executeServerEvent("'FIRST'",false)};this.e147p2_client=function(){this.executeServerEvent("'NEXT'",false)
};this.e177p2_client=function(){this.executeServerEvent("'PREVIOUS'",true,arguments[0])};this.e197p2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,19,23,28,32,33];this.GXLastCtrlId=33;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hzautor",[],false,1,false,true,10,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(74,32,"AUTNRO","Autor","","AutNro","int",0,"px",6,6,"right",null,[],74,"AutNro",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(71,33,"AUTNOM","Nome","","AutNom","char",500,"px",250,250,"left",null,[],71,"AutNom",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[19]={fld:"TABLE2",grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMAUTPESQ",gxz:"ZV15NomAutPesq",gxold:"OV15NomAutPesq",gxvar:"AV15NomAutPesq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15NomAutPesq=a
},v2z:function(a){gx.O.ZV15NomAutPesq=a},v2c:function(){gx.fn.setControlValue("vNOMAUTPESQ",gx.O.AV15NomAutPesq,0)},c2v:function(){gx.O.AV15NomAutPesq=this.val()},val:function(){return gx.fn.getControlValue("vNOMAUTPESQ")},nac:function(){return false}};this.GXValidFnc[28]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMAUTCONT",gxz:"ZV17NomAutCont",gxold:"OV17NomAutCont",gxvar:"AV17NomAutCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17NomAutCont=a
},v2z:function(a){gx.O.ZV17NomAutCont=a},v2c:function(){gx.fn.setControlValue("vNOMAUTCONT",gx.O.AV17NomAutCont,0)},c2v:function(){gx.O.AV17NomAutCont=this.val()},val:function(){return gx.fn.getControlValue("vNOMAUTCONT")},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:31,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"AUTNRO",gxz:"Z74AutNro",gxold:"O74AutNro",gxvar:"A74AutNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A74AutNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z74AutNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("AUTNRO",gx.fn.currentGridRowImpl(31),gx.O.A74AutNro,1)},c2v:function(){gx.O.A74AutNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("AUTNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"AUTNOM",gxz:"Z71AutNom",gxold:"O71AutNom",gxvar:"A71AutNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A71AutNom=a
},v2z:function(a){gx.O.Z71AutNom=a},v2c:function(){gx.fn.setGridControlValue("AUTNOM",gx.fn.currentGridRowImpl(31),gx.O.A71AutNom,1)},c2v:function(){gx.O.A71AutNom=this.val()},val:function(){return gx.fn.getGridControlValue("AUTNOM",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.AV15NomAutPesq="";this.ZV15NomAutPesq="";this.OV15NomAutPesq="";this.AV17NomAutCont="";this.ZV17NomAutCont="";this.OV17NomAutCont="";this.Z74AutNro=0;this.O74AutNro=0;this.Z71AutNom="";this.O71AutNom="";
this.AV16AutNro=0;this.A73AutNomSemA="";this.A74AutNro=0;this.A71AutNom="";this.ServerEvents=["e117p2_client","e127p2_client","e137p2_client","e147p2_client","e177p2_client","e197p2_client"];this.EnterCtrl=["BTN_ENTER1"];this.VarControlMap.A73AutNomSemA={id:"AUTNOMSEMA",grid:0,type:"char"};this.VarControlMap.AV16AutNro={id:"vAUTNRO",grid:0,type:"int"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[23]);this.Subfile1Container.addRefreshingVar(this.GXValidFnc[28]);this.SetStandaloneVars()}hzautor.prototype=new gx.GxObject;
gx.setParentObj(new hzautor());