gx.evt.autoSkip=false;function hlcateg(){this.ServerClass="HLCateg";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV6CgaCod=gx.fn.getControlValue("vCGACOD")};this.e110q2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e130q1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[4,13,17,18];this.GXLastCtrlId=18;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",16,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hlcateg",[],false,1,false,true,12,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addSingleLineEdit(128,17,"CGACOD","Categoria","","CgaCod","char",70,"px",12,12,"left",null,[],128,"CgaCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit(129,18,"CGADSC","Descrição","","CgaDsc","char",410,"px",100,100,"left",null,[],129,"CgaDsc",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[4]={fld:"TABLE1",grid:0};this.GXValidFnc[13]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={lvl:2,type:"char",len:12,dec:0,sign:false,ro:1,grid:16,gxgrid:this.Subfile1Container,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(16),gx.O.A128CgaCod,0)},c2v:function(){gx.O.A128CgaCod=this.val()},val:function(){return gx.fn.getGridControlValue("CGACOD",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:16,gxgrid:this.Subfile1Container,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(16),gx.O.A129CgaDsc,0)},c2v:function(){gx.O.A129CgaDsc=this.val()},val:function(){return gx.fn.getGridControlValue("CGADSC",gx.fn.currentGridRowImpl(16))},nac:function(){return false}};this.Z128CgaCod="";this.O128CgaCod="";this.Z129CgaDsc="";this.O129CgaDsc="";this.AV6CgaCod="";this.A128CgaCod="";this.A129CgaDsc="";this.ServerEvents=["e110q2_client","e130q1_client"];this.VarControlMap.AV6CgaCod={id:"vCGACOD",grid:0,type:"char"};
this.SetStandaloneVars()}hlcateg.prototype=new gx.GxObject;gx.setParentObj(new hlcateg());