gx.evt.autoSkip=false;function himh285(){this.ServerClass="HImh285";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A519LpuNomSemA=gx.fn.getControlValue("LPUNOMSEMA")};this.e18jq1_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh015.aspx",["LP"]),[""]);this.refreshOutputs([])};this.e15jq2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e12jq2_client=function(){this.executeServerEvent("'NOVO'",false)
};this.e13jq2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e14jq2_client=function(){this.executeServerEvent("'NAVEGAR'",false)};this.e19jq2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,16,20,23,26,28,32,33,34];this.GXLastCtrlId=34;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"himh285",[],false,1,true,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Subfile1Container.addBitmap("&Imagemeditar","vIMAGEMEDITAR",32,0,"px",17,"px",null,"","");this.Subfile1Container.addSingleLineEdit(518,33,"LPUNOM","Nome","","LpuNom","char",0,"px",30,30,"left",null,[],518,"LpuNom",true,0,false,false);this.Subfile1Container.addSingleLineEdit(516,34,"LPUCOD","Código","","LpuCod","int",0,"px",5,5,"right",null,[],516,"LpuCod",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRCODLOCALPUBLICACAO",gxz:"ZV31ScrCodLocalPublicacao",gxold:"OV31ScrCodLocalPublicacao",gxvar:"AV31ScrCodLocalPublicacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV31ScrCodLocalPublicacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV31ScrCodLocalPublicacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRCODLOCALPUBLICACAO",gx.O.AV31ScrCodLocalPublicacao,0)},c2v:function(){gx.O.AV31ScrCodLocalPublicacao=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRCODLOCALPUBLICACAO",".")},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[23]={fld:"TABLE2",grid:0};this.GXValidFnc[26]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[28]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vLPUNOM",gxz:"ZV9LpuNom",gxold:"OV9LpuNom",gxvar:"AV9LpuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9LpuNom=a
},v2z:function(a){gx.O.ZV9LpuNom=a},v2c:function(){gx.fn.setControlValue("vLPUNOM",gx.O.AV9LpuNom,0)},c2v:function(){gx.O.AV9LpuNom=this.val()},val:function(){return gx.fn.getControlValue("vLPUNOM")},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"vIMAGEMEDITAR",gxz:"ZV15ImagemEditar",gxold:"OV15ImagemEditar",gxvar:"AV15ImagemEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15ImagemEditar=a
},v2z:function(a){gx.O.ZV15ImagemEditar=a},v2c:function(){},c2v:function(){gx.O.AV15ImagemEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMAGEMEDITAR",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"LPUNOM",gxz:"Z518LpuNom",gxold:"O518LpuNom",gxvar:"A518LpuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A518LpuNom=a
},v2z:function(a){gx.O.Z518LpuNom=a},v2c:function(){gx.fn.setGridControlValue("LPUNOM",gx.fn.currentGridRowImpl(31),gx.O.A518LpuNom,0)},c2v:function(){gx.O.A518LpuNom=this.val()},val:function(){return gx.fn.getGridControlValue("LPUNOM",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:31,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"LPUCOD",gxz:"Z516LpuCod",gxold:"O516LpuCod",gxvar:"A516LpuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A516LpuCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z516LpuCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("LPUCOD",gx.fn.currentGridRowImpl(31),gx.O.A516LpuCod,0)},c2v:function(){gx.O.A516LpuCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LPUCOD",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.AV31ScrCodLocalPublicacao=0;this.ZV31ScrCodLocalPublicacao=0;this.OV31ScrCodLocalPublicacao=0;this.AV9LpuNom="";this.ZV9LpuNom="";this.OV9LpuNom="";this.ZV15ImagemEditar="";this.OV15ImagemEditar="";
this.Z518LpuNom="";this.O518LpuNom="";this.Z516LpuCod=0;this.O516LpuCod=0;this.A519LpuNomSemA="";this.AV15ImagemEditar="";this.A518LpuNom="";this.A516LpuCod=0;this.ServerEvents=["e15jq2_client","e12jq2_client","e13jq2_client","e14jq2_client","e19jq2_client"];this.VarControlMap.A519LpuNomSemA={id:"LPUNOMSEMA",grid:0,type:"char"};this.VarControlMap.AV16CharDB={id:"vCHARDB",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[28]);this.Subfile1Container.addRefreshingVar({rfrVar:"AV16CharDB"});
this.SetStandaloneVars()}himh285.prototype=new gx.GxObject;gx.setParentObj(new himh285());