gx.evt.autoSkip=false;function main(){this.ServerClass="Main";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.addKeyListener("5",'"RFR"');this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e13042_client=function(){this.executeServerEvent("_IMAGEM.CLICK",true,arguments[0])};this.e14042_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e15042_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[25,26,29];
this.GXLastCtrlId=29;this.GridcategoriasContainer=new gx.grid.grid(this,2,"WbpLvl2",19,"Gridcategorias","Gridcategorias","GridcategoriasContainer",this.CmpContext,this.IsMasterPage,"main",[],true,4,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false);this.GridcategoriasContainer.startRow("","","top","","","");this.GridcategoriasContainer.startCell("","","top","","","","","","","");this.GridcategoriasContainer.startTable("Table6",22,"100%");this.GridcategoriasContainer.addHtmlCode("<TBODY>");
this.GridcategoriasContainer.startRow("","","","","","");this.GridcategoriasContainer.startCell("","center","","","","","","2","","");this.GridcategoriasContainer.addSingleLineEdit("I",25,"_I","","","i","int",4,"chr",4,4,"right",null,[],"I","i",true,0,false,false);this.GridcategoriasContainer.addBitmap("&Imagem","_IMAGEM",26,160,"px",0,"px","e13042_client","","");this.GridcategoriasContainer.endCell();this.GridcategoriasContainer.endRow();this.GridcategoriasContainer.startRow("","","","","","");this.GridcategoriasContainer.startCell("","center","","","","18px","","2","","");
this.GridcategoriasContainer.addSingleLineEdit("Desc",29,"_DESC","","","desc","svchar",40,"chr",40,40,"left",null,[],"Desc","desc",true,0,false,false);this.GridcategoriasContainer.endCell();this.GridcategoriasContainer.endRow();this.GridcategoriasContainer.addHtmlCode("</TBODY>");this.GridcategoriasContainer.endTable();this.GridcategoriasContainer.endCell();this.GridcategoriasContainer.endRow();this.setGrid(this.GridcategoriasContainer);this.GXValidFnc[25]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:19,gxgrid:this.GridcategoriasContainer,fnc:null,isvalid:null,rgrid:[],fld:"_I",gxz:"ZV18i",gxold:"OV18i",gxvar:"AV18i",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18i=gx.num.intval(a)
},v2z:function(a){gx.O.ZV18i=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("_I",gx.fn.currentGridRowImpl(19),gx.O.AV18i,0)},c2v:function(){gx.O.AV18i=this.val()},val:function(){return gx.fn.getGridIntegerValue("_I",gx.fn.currentGridRowImpl(19),".")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:19,gxgrid:this.GridcategoriasContainer,fnc:null,isvalid:null,fld:"_IMAGEM",gxz:"ZV19imagem",gxold:"OV19imagem",gxvar:"AV19imagem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19imagem=a
},v2z:function(a){gx.O.ZV19imagem=a},v2c:function(){},c2v:function(){gx.O.AV19imagem=this.val()},val:function(){return gx.fn.getGridControlValue("_IMAGEM",gx.fn.currentGridRowImpl(19))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"svchar",len:40,dec:0,sign:false,ro:0,grid:19,gxgrid:this.GridcategoriasContainer,fnc:null,isvalid:null,fld:"_DESC",gxz:"ZV12desc",gxold:"OV12desc",gxvar:"AV12desc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12desc=a},v2z:function(a){gx.O.ZV12desc=a
},v2c:function(){gx.fn.setGridControlValue("_DESC",gx.fn.currentGridRowImpl(19),gx.O.AV12desc,0)},c2v:function(){gx.O.AV12desc=this.val()},val:function(){return gx.fn.getGridControlValue("_DESC",gx.fn.currentGridRowImpl(19))},nac:function(){return false}};this.ZV18i=0;this.OV18i=0;this.ZV19imagem="";this.OV19imagem="";this.ZV12desc="";this.OV12desc="";this.AV18i=0;this.AV19imagem="";this.AV12desc="";this.A5402GrpSID=0;this.A5399GrpID=0;this.A5403GrpSDes="";this.GridcategoriasContainer.addRefreshingVar({rfrVar:"AV12desc",rfrProp:"Enabled"});
this.GridcategoriasContainer.addRefreshingVar({rfrVar:"AV18i",rfrProp:"Visible"});this.GridcategoriasContainer.addRefreshingVar({rfrVar:"AV18i",rfrProp:"Enabled"});this.SetStandaloneVars()}main.prototype=new gx.GxObject;gx.setParentObj(new main());