gx.evt.autoSkip=false;function himh298(){this.ServerClass="HImh298";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e11k52_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15k52_client=function(){this.executeServerEvent("'EDITAR'",true,arguments[0])};this.e12k52_client=function(){this.executeServerEvent("'NOVO'",false)};this.e16k51_client=function(){this.executeServerEvent("ENTER",true)};this.e17k52_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[2,11,15,18,19,20];this.GXLastCtrlId=20;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",17,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh298",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Grdimgeditar","vGRDIMGEDITAR",18,0,"px",17,"px","e15k52_client","","");this.Grid1Container.addSingleLineEdit(128,19,"CGACOD","Categoria","","CgaCod","char",0,"px",12,12,"left",null,[],128,"CgaCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(129,20,"CGADSC","Descrição","","CgaDsc","char",0,"px",100,100,"left",null,[],129,"CgaDsc",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[11]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRCODCATEGORIA",gxz:"ZV7ScrCodCategoria",gxold:"OV7ScrCodCategoria",gxvar:"AV7ScrCodCategoria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7ScrCodCategoria=a
},v2z:function(a){gx.O.ZV7ScrCodCategoria=a},v2c:function(){gx.fn.setControlValue("vSCRCODCATEGORIA",gx.O.AV7ScrCodCategoria,0)},c2v:function(){gx.O.AV7ScrCodCategoria=this.val()},val:function(){return gx.fn.getControlValue("vSCRCODCATEGORIA")},nac:function(){return false}};this.GXValidFnc[15]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[18]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMGEDITAR",gxz:"ZV6GrdImgEditar",gxold:"OV6GrdImgEditar",gxvar:"AV6GrdImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6GrdImgEditar=a
},v2z:function(a){gx.O.ZV6GrdImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV6GrdImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMGEDITAR",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CGACOD",gxz:"Z128CgaCod",gxold:"O128CgaCod",gxvar:"A128CgaCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A128CgaCod=a
},v2z:function(a){gx.O.Z128CgaCod=a},v2c:function(){gx.fn.setGridControlValue("CGACOD",gx.fn.currentGridRowImpl(17),gx.O.A128CgaCod,0)},c2v:function(){gx.O.A128CgaCod=this.val()},val:function(){return gx.fn.getGridControlValue("CGACOD",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CGADSC",gxz:"Z129CgaDsc",gxold:"O129CgaDsc",gxvar:"A129CgaDsc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A129CgaDsc=a
},v2z:function(a){gx.O.Z129CgaDsc=a},v2c:function(){gx.fn.setGridControlValue("CGADSC",gx.fn.currentGridRowImpl(17),gx.O.A129CgaDsc,0)},c2v:function(){gx.O.A129CgaDsc=this.val()},val:function(){return gx.fn.getGridControlValue("CGADSC",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.AV7ScrCodCategoria="";this.ZV7ScrCodCategoria="";this.OV7ScrCodCategoria="";this.ZV6GrdImgEditar="";this.OV6GrdImgEditar="";this.Z128CgaCod="";this.O128CgaCod="";this.Z129CgaDsc="";this.O129CgaDsc="";
this.AV6GrdImgEditar="";this.A128CgaCod="";this.A129CgaDsc="";this.ServerEvents=["e11k52_client","e15k52_client","e12k52_client","e16k51_client","e17k52_client"];this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh298.prototype=new gx.GxObject;gx.setParentObj(new himh298());