gx.evt.autoSkip=false;function hzpchave(){this.ServerClass="HZPChave";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A617PchDesSemA=gx.fn.getControlValue("PCHDESSEMA");this.AV15PchNro=gx.fn.getIntegerValue("vPCHNRO",".")};this.e112x2_client=function(){this.executeServerEvent("ENTER",true)};this.e122x2_client=function(){this.executeServerEvent("'LAST'",false)};this.e132x2_client=function(){this.executeServerEvent("'FIRST'",false)
};this.e142x2_client=function(){this.executeServerEvent("'NEXT'",false)};this.e152x2_client=function(){this.executeServerEvent("'PREVIOUS'",false)};this.e192x2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,20,24,28,35,36];this.GXLastCtrlId=36;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",34,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hzpchave",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(192,35,"PCHDES","Palavra-chave","","PchDes","char",0,"px",60,60,"left",null,[],192,"PchDes",true,0,false,false);this.Grid1Container.addSingleLineEdit(193,36,"PCHNRO","Código","","PchNro","int",0,"px",6,6,"right",null,[],193,"PchNro",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[20]={fld:"TABLE2",grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vPCHDESINI",gxz:"ZV17PchDesIni",gxold:"OV17PchDesIni",gxvar:"AV17PchDesIni",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17PchDesIni=a
},v2z:function(a){gx.O.ZV17PchDesIni=a},v2c:function(){gx.fn.setControlValue("vPCHDESINI",gx.O.AV17PchDesIni,0)},c2v:function(){gx.O.AV17PchDesIni=this.val()},val:function(){return gx.fn.getControlValue("vPCHDESINI")},nac:function(){return false}};this.GXValidFnc[28]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vPCHDESCON",gxz:"ZV21PchDesCon",gxold:"OV21PchDesCon",gxvar:"AV21PchDesCon",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21PchDesCon=a
},v2z:function(a){gx.O.ZV21PchDesCon=a},v2c:function(){gx.fn.setControlValue("vPCHDESCON",gx.O.AV21PchDesCon,0)},c2v:function(){gx.O.AV21PchDesCon=this.val()},val:function(){return gx.fn.getControlValue("vPCHDESCON")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:60,dec:0,sign:false,ro:1,grid:34,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PCHDES",gxz:"Z192PchDes",gxold:"O192PchDes",gxvar:"A192PchDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A192PchDes=a
},v2z:function(a){gx.O.Z192PchDes=a},v2c:function(){gx.fn.setGridControlValue("PCHDES",gx.fn.currentGridRowImpl(34),gx.O.A192PchDes,0)},c2v:function(){gx.O.A192PchDes=this.val()},val:function(){return gx.fn.getGridControlValue("PCHDES",gx.fn.currentGridRowImpl(34))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:34,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PCHNRO",gxz:"Z193PchNro",gxold:"O193PchNro",gxvar:"A193PchNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A193PchNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z193PchNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PCHNRO",gx.fn.currentGridRowImpl(34),gx.O.A193PchNro,0)},c2v:function(){gx.O.A193PchNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PCHNRO",gx.fn.currentGridRowImpl(34),".")},nac:function(){return false}};this.AV17PchDesIni="";this.ZV17PchDesIni="";this.OV17PchDesIni="";this.AV21PchDesCon="";this.ZV21PchDesCon="";this.OV21PchDesCon="";this.Z192PchDes="";this.O192PchDes="";this.Z193PchNro=0;
this.O193PchNro=0;this.AV15PchNro=0;this.A617PchDesSemA="";this.A192PchDes="";this.A193PchNro=0;this.ServerEvents=["e112x2_client","e122x2_client","e132x2_client","e142x2_client","e152x2_client","e192x2_client"];this.EnterCtrl=["BUTTON5"];this.VarControlMap.A617PchDesSemA={id:"PCHDESSEMA",grid:0,type:"char"};this.VarControlMap.AV15PchNro={id:"vPCHNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[28]);this.SetStandaloneVars()
}hzpchave.prototype=new gx.GxObject;gx.setParentObj(new hzpchave());