gx.evt.autoSkip=false;function himh025(){this.ServerClass="HImh025";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.addKeyListener("6","e154l1_client");this.SetStandaloneVars=function(){};this.e154l1_client=function(){this.clearMessages();this.AV17ProCod="  ";this.AV18ProNom=" ";this.AV19ProTxtEtiqueta=" ";gx.popup.openUrl(gx.http.formatLink("himh026.aspx",["INSERIR",this.AV17ProCod,this.AV18ProNom,this.AV19ProTxtEtiqueta]),["","AV17ProCod","AV18ProNom","AV19ProTxtEtiqueta"]);
this.refreshOutputs([{av:"AV19ProTxtEtiqueta",fld:"vPROTXTETIQUETA"},{av:"AV18ProNom",fld:"vPRONOM"},{av:"AV17ProCod",fld:"vPROCOD"}])};this.e164l2_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh026.aspx",["MUDAR##",this.AV17ProCod,this.AV18ProNom,this.AV19ProTxtEtiqueta]),["","AV17ProCod","AV18ProNom","AV19ProTxtEtiqueta"]);this.refreshOutputs([])};this.e174l2_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh026.aspx",["APAGAR#",this.AV17ProCod,this.AV18ProNom,this.AV19ProTxtEtiqueta]),["","AV17ProCod","AV18ProNom","AV19ProTxtEtiqueta"]);
this.refreshOutputs([])};this.e114l2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e134l2_client=function(){this.executeServerEvent("'MENU PRINCIPAL'",true,arguments[0])};this.e184l2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e194l2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,12,16,17,18,19,20];this.GXLastCtrlId=20;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",15,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh025",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Imgeditar","vIMGEDITAR",16,0,"px",17,"px","e164l2_client","","");this.Grid1Container.addSingleLineEdit("Procod",17,"vPROCOD","Código","","ProCod","char",0,"px",3,3,"left",null,[],"Procod","ProCod",true,0,false,false);this.Grid1Container.addSingleLineEdit("Pronom",18,"vPRONOM","Nome","","ProNom","char",0,"px",40,40,"left",null,[],"Pronom","ProNom",true,0,false,false);this.Grid1Container.addSingleLineEdit("Protxtetiqueta",19,"vPROTXTETIQUETA","Etiqueta","","ProTxtEtiqueta","char",0,"px",35,35,"left",null,[],"Protxtetiqueta","ProTxtEtiqueta",true,0,false,false);
this.Grid1Container.addBitmap("&Imgexcluir","vIMGEXCLUIR",20,0,"px",17,"px","e174l2_client","","");this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[16]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEDITAR",gxz:"ZV26ImgEditar",gxold:"OV26ImgEditar",gxvar:"AV26ImgEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26ImgEditar=a
},v2z:function(a){gx.O.ZV26ImgEditar=a},v2c:function(){},c2v:function(){gx.O.AV26ImgEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDITAR",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vPROCOD",gxz:"ZV17ProCod",gxold:"OV17ProCod",gxvar:"AV17ProCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17ProCod=a},v2z:function(a){gx.O.ZV17ProCod=a
},v2c:function(){gx.fn.setGridControlValue("vPROCOD",gx.fn.currentGridRowImpl(15),gx.O.AV17ProCod,0)},c2v:function(){gx.O.AV17ProCod=this.val()},val:function(){return gx.fn.getGridControlValue("vPROCOD",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vPRONOM",gxz:"ZV18ProNom",gxold:"OV18ProNom",gxvar:"AV18ProNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18ProNom=a
},v2z:function(a){gx.O.ZV18ProNom=a},v2c:function(){gx.fn.setGridControlValue("vPRONOM",gx.fn.currentGridRowImpl(15),gx.O.AV18ProNom,0)},c2v:function(){gx.O.AV18ProNom=this.val()},val:function(){return gx.fn.getGridControlValue("vPRONOM",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:35,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vPROTXTETIQUETA",gxz:"ZV19ProTxtEtiqueta",gxold:"OV19ProTxtEtiqueta",gxvar:"AV19ProTxtEtiqueta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19ProTxtEtiqueta=a
},v2z:function(a){gx.O.ZV19ProTxtEtiqueta=a},v2c:function(){gx.fn.setGridControlValue("vPROTXTETIQUETA",gx.fn.currentGridRowImpl(15),gx.O.AV19ProTxtEtiqueta,0)},c2v:function(){gx.O.AV19ProTxtEtiqueta=this.val()},val:function(){return gx.fn.getGridControlValue("vPROTXTETIQUETA",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMGEXCLUIR",gxz:"ZV27ImgExcluir",gxold:"OV27ImgExcluir",gxvar:"AV27ImgExcluir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27ImgExcluir=a
},v2z:function(a){gx.O.ZV27ImgExcluir=a},v2c:function(){},c2v:function(){gx.O.AV27ImgExcluir=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEXCLUIR",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.ZV26ImgEditar="";this.OV26ImgEditar="";this.ZV17ProCod="";this.OV17ProCod="";this.ZV18ProNom="";this.OV18ProNom="";this.ZV19ProTxtEtiqueta="";this.OV19ProTxtEtiqueta="";this.ZV27ImgExcluir="";this.OV27ImgExcluir="";this.AV26ImgEditar="";this.AV17ProCod="";this.AV18ProNom="";
this.AV19ProTxtEtiqueta="";this.AV27ImgExcluir="";this.A858TgeCodChav="";this.A859TgeCodTabe="";this.A860TgeValCont="";this.ServerEvents=["e114l2_client","e134l2_client","e184l2_client","e194l2_client"];this.VarControlMap.A858TgeCodChav={id:"TGECODCHAV",grid:0,type:"char"};this.VarControlMap.A860TgeValCont={id:"TGEVALCONT",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"A858TgeCodChav"});this.Grid1Container.addRefreshingVar({rfrVar:"A860TgeValCont"});this.SetStandaloneVars()}himh025.prototype=new gx.GxObject;
gx.setParentObj(new himh025());