gx.evt.autoSkip=false;function himh037(){this.ServerClass="HImh037";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.Valid_Acodes=function(){try{if(gx.fn.currentGridRowImpl(32)===0){return true}var a=gx.util.balloon.getNew("ACODES",gx.fn.currentGridRowImpl(32));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e180m1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh187.aspx",[]),[]);
this.refreshOutputs([])};this.e190m2_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("timt014.aspx",[this.A4AcoNro]),["A4AcoNro"]);this.refreshOutputs([])};this.e110m2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e120m2_client=function(){this.executeServerEvent("'IMPRIMIR'",false)};this.e130m2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e150m2_client=function(){this.executeServerEvent("'SEGUIRPARA'",false)};this.e200m2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e210m2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,19,23,26,29,31,33,34,35,36,37,38];this.GXLastCtrlId=38;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",32,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh037",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addBitmap("&Lapis","vLAPIS",33,0,"px",17,"px",null,"","");
this.Subfile1Container.addSingleLineEdit("Grdcodareaconhecimento",34,"vGRDCODAREACONHECIMENTO","Número","","GrdCodAreaConhecimento","int",0,"px",3,3,"right",null,[],"Grdcodareaconhecimento","GrdCodAreaConhecimento",true,0,false,false);this.Subfile1Container.addSingleLineEdit(4,35,"ACONRO","Número","","AcoNro","int",50,"px",3,3,"right",null,[],4,"AcoNro",true,0,false,false);this.Subfile1Container.addSingleLineEdit(3,36,"ACODES","Descrição","","AcoDes","char",260,"px",50,50,"left",null,[],3,"AcoDes",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(2,37,"ACOCOD","Código","","AcoCod","char",60,"px",10,10,"left",null,[],2,"AcoCod",true,0,false,false);this.Subfile1Container.addSingleLineEdit("Subarea",38,"vSUBAREA","","","subarea","char",110,"px",20,20,"left","e190m2_client",[],"Subarea","subarea",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vACONRONAVEGAR",gxz:"ZV28AcoNroNavegar",gxold:"OV28AcoNroNavegar",gxvar:"AV28AcoNroNavegar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28AcoNroNavegar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV28AcoNroNavegar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vACONRONAVEGAR",gx.O.AV28AcoNroNavegar,0)},c2v:function(){gx.O.AV28AcoNroNavegar=this.val()},val:function(){return gx.fn.getIntegerValue("vACONRONAVEGAR",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[26]={fld:"TABLE2",grid:0};this.GXValidFnc[29]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMECONTENDO",gxz:"ZV24NomeContendo",gxold:"OV24NomeContendo",gxvar:"AV24NomeContendo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24NomeContendo=a
},v2z:function(a){gx.O.ZV24NomeContendo=a},v2c:function(){gx.fn.setControlValue("vNOMECONTENDO",gx.O.AV24NomeContendo,0)},c2v:function(){gx.O.AV24NomeContendo=this.val()},val:function(){return gx.fn.getControlValue("vNOMECONTENDO")},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:32,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vLAPIS",gxz:"ZV16Lapis",gxold:"OV16Lapis",gxvar:"AV16Lapis",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV16Lapis=a
},v2z:function(a){gx.O.ZV16Lapis=a},v2c:function(){},c2v:function(){gx.O.AV16Lapis=this.val()},val:function(){return gx.fn.getGridControlValue("vLAPIS",gx.fn.currentGridRowImpl(32))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:32,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"vGRDCODAREACONHECIMENTO",gxz:"ZV27GrdCodAreaConhecimento",gxold:"OV27GrdCodAreaConhecimento",gxvar:"AV27GrdCodAreaConhecimento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27GrdCodAreaConhecimento=gx.num.intval(a)
},v2z:function(a){gx.O.ZV27GrdCodAreaConhecimento=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vGRDCODAREACONHECIMENTO",gx.fn.currentGridRowImpl(32),gx.O.AV27GrdCodAreaConhecimento,0)},c2v:function(){gx.O.AV27GrdCodAreaConhecimento=this.val()},val:function(){return gx.fn.getGridIntegerValue("vGRDCODAREACONHECIMENTO",gx.fn.currentGridRowImpl(32),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:32,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"ACONRO",gxz:"Z4AcoNro",gxold:"O4AcoNro",gxvar:"A4AcoNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A4AcoNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z4AcoNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ACONRO",gx.fn.currentGridRowImpl(32),gx.O.A4AcoNro,0)},c2v:function(){gx.O.A4AcoNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ACONRO",gx.fn.currentGridRowImpl(32),".")},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:32,gxgrid:this.Subfile1Container,fnc:this.Valid_Acodes,isvalid:null,fld:"ACODES",gxz:"Z3AcoDes",gxold:"O3AcoDes",gxvar:"A3AcoDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A3AcoDes=a
},v2z:function(a){gx.O.Z3AcoDes=a},v2c:function(){gx.fn.setGridControlValue("ACODES",gx.fn.currentGridRowImpl(32),gx.O.A3AcoDes,0)},c2v:function(){gx.O.A3AcoDes=this.val()},val:function(){return gx.fn.getGridControlValue("ACODES",gx.fn.currentGridRowImpl(32))},nac:function(){return false}};this.GXValidFnc[37]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:32,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"ACOCOD",gxz:"Z2AcoCod",gxold:"O2AcoCod",gxvar:"A2AcoCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A2AcoCod=a
},v2z:function(a){gx.O.Z2AcoCod=a},v2c:function(){gx.fn.setGridControlValue("ACOCOD",gx.fn.currentGridRowImpl(32),gx.O.A2AcoCod,0)},c2v:function(){gx.O.A2AcoCod=this.val()},val:function(){return gx.fn.getGridControlValue("ACOCOD",gx.fn.currentGridRowImpl(32))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:32,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vSUBAREA",gxz:"ZV22subarea",gxold:"OV22subarea",gxvar:"AV22subarea",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22subarea=a
},v2z:function(a){gx.O.ZV22subarea=a},v2c:function(){gx.fn.setGridControlValue("vSUBAREA",gx.fn.currentGridRowImpl(32),gx.O.AV22subarea,0)},c2v:function(){gx.O.AV22subarea=this.val()},val:function(){return gx.fn.getGridControlValue("vSUBAREA",gx.fn.currentGridRowImpl(32))},nac:function(){return false}};this.AV28AcoNroNavegar=0;this.ZV28AcoNroNavegar=0;this.OV28AcoNroNavegar=0;this.AV24NomeContendo="";this.ZV24NomeContendo="";this.OV24NomeContendo="";this.ZV16Lapis="";this.OV16Lapis="";this.ZV27GrdCodAreaConhecimento=0;
this.OV27GrdCodAreaConhecimento=0;this.Z4AcoNro=0;this.O4AcoNro=0;this.Z3AcoDes="";this.O3AcoDes="";this.Z2AcoCod="";this.O2AcoCod="";this.ZV22subarea="";this.OV22subarea="";this.AV16Lapis="";this.AV27GrdCodAreaConhecimento=0;this.A4AcoNro=0;this.A3AcoDes="";this.A2AcoCod="";this.AV22subarea="";this.ServerEvents=["e110m2_client","e120m2_client","e130m2_client","e150m2_client","e200m2_client","e210m2_client"];this.VarControlMap.AV25CharDB={id:"vCHARDB",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[31]);
this.Subfile1Container.addRefreshingVar({rfrVar:"AV25CharDB"});this.SetStandaloneVars()}himh037.prototype=new gx.GxObject;gx.setParentObj(new himh037());