gx.evt.autoSkip=false;function himh045(){this.ServerClass="HImh045";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV47VncCodOrigem=gx.fn.getControlValue("vVNCCODORIGEM")};this.e130p2_client=function(){this.executeServerEvent("'IMAGEMPOPUP'",true,arguments[0])};this.e140p2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e150p2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,6,9,13,14,15];this.GXLastCtrlId=15;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",12,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh045",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addBlob("Vncvalconteudo",13,"vVNCVALCONTEUDO","","VncValConteudo","bitstr",1,60,0,"px","px",true,false);this.Grid1Container.addSingleLineEdit("Vncnomarquivo",14,"vVNCNOMARQUIVO","Nome","","VncNomArquivo","char",0,"px",100,100,"left",null,[],"Vncnomarquivo","VncNomArquivo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Vnccodextensao",15,"vVNCCODEXTENSAO","Extensão","","VncCodExtensao","char",0,"px",10,10,"left",null,[],"Vnccodextensao","VncCodExtensao",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[6]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[9]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[13]={lvl:2,type:"bitstr",len:1024,dec:0,sign:false,ro:1,grid:12,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVNCVALCONTEUDO",gxz:"ZV53VncValConteudo",gxold:"OV53VncValConteudo",gxvar:"AV53VncValConteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV53VncValConteudo=a
},v2z:function(a){gx.O.ZV53VncValConteudo=a},v2c:function(){},c2v:function(){gx.O.AV53VncValConteudo=this.val()},val:function(){return gx.fn.getGridControlValue("vVNCVALCONTEUDO",gx.fn.currentGridRowImpl(12))},nac:function(){return false}};this.GXValidFnc[14]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:12,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVNCNOMARQUIVO",gxz:"ZV51VncNomArquivo",gxold:"OV51VncNomArquivo",gxvar:"AV51VncNomArquivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV51VncNomArquivo=a
},v2z:function(a){gx.O.ZV51VncNomArquivo=a},v2c:function(){gx.fn.setGridControlValue("vVNCNOMARQUIVO",gx.fn.currentGridRowImpl(12),gx.O.AV51VncNomArquivo,0)},c2v:function(){gx.O.AV51VncNomArquivo=this.val()},val:function(){return gx.fn.getGridControlValue("vVNCNOMARQUIVO",gx.fn.currentGridRowImpl(12))},nac:function(){return false}};this.GXValidFnc[15]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:12,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVNCCODEXTENSAO",gxz:"ZV52VncCodExtensao",gxold:"OV52VncCodExtensao",gxvar:"AV52VncCodExtensao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV52VncCodExtensao=a
},v2z:function(a){gx.O.ZV52VncCodExtensao=a},v2c:function(){gx.fn.setGridControlValue("vVNCCODEXTENSAO",gx.fn.currentGridRowImpl(12),gx.O.AV52VncCodExtensao,0)},c2v:function(){gx.O.AV52VncCodExtensao=this.val()},val:function(){return gx.fn.getGridControlValue("vVNCCODEXTENSAO",gx.fn.currentGridRowImpl(12))},nac:function(){return false}};this.ZV53VncValConteudo="";this.OV53VncValConteudo="";this.ZV51VncNomArquivo="";this.OV51VncNomArquivo="";this.ZV52VncCodExtensao="";this.OV52VncCodExtensao="";this.AV47VncCodOrigem="";
this.AV53VncValConteudo="";this.AV51VncNomArquivo="";this.AV52VncCodExtensao="";this.A303DviTipArqu="";this.A258DocNro=0;this.A300DviNomArqu="";this.A299DviDesVinc="";this.A302DviNroVinc=0;this.A301DviNroItem=0;this.A1081DviDscURL="";this.A987VncIndRese="";this.A986VncCodOrig="";this.A988VncNomArqu="";this.A985VncCodExte="";this.A990VncValCont="";this.A989VncNro=0;this.ServerEvents=["e130p2_client","e140p2_client","e150p2_client"];this.VarControlMap.AV47VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};
this.VarControlMap.A299DviDesVinc={id:"DVIDESVINC",grid:0,type:"char"};this.VarControlMap.A300DviNomArqu={id:"DVINOMARQU",grid:0,type:"char"};this.VarControlMap.A1081DviDscURL={id:"DVIDSCURL",grid:0,type:"char"};this.VarControlMap.A303DviTipArqu={id:"DVITIPARQU",grid:0,type:"char"};this.VarControlMap.A302DviNroVinc={id:"DVINROVINC",grid:0,type:"int"};this.VarControlMap.A301DviNroItem={id:"DVINROITEM",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.AV47VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};
this.VarControlMap.A990VncValCont={id:"VNCVALCONT",grid:0,type:"bitstr"};this.VarControlMap.A985VncCodExte={id:"VNCCODEXTE",grid:0,type:"char"};this.VarControlMap.A988VncNomArqu={id:"VNCNOMARQU",grid:0,type:"char"};this.VarControlMap.A989VncNro={id:"VNCNRO",grid:0,type:"int"};this.VarControlMap.A986VncCodOrig={id:"VNCCODORIG",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"A299DviDesVinc"});this.Grid1Container.addRefreshingVar({rfrVar:"A300DviNomArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"A1081DviDscURL"});
this.Grid1Container.addRefreshingVar({rfrVar:"A303DviTipArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"A302DviNroVinc"});this.Grid1Container.addRefreshingVar({rfrVar:"A301DviNroItem"});this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV47VncCodOrigem"});this.Grid1Container.addRefreshingVar({rfrVar:"A990VncValCont"});this.Grid1Container.addRefreshingVar({rfrVar:"A985VncCodExte"});this.Grid1Container.addRefreshingVar({rfrVar:"A988VncNomArqu"});
this.Grid1Container.addRefreshingVar({rfrVar:"A989VncNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A986VncCodOrig"});this.SetStandaloneVars()}himh045.prototype=new gx.GxObject;gx.setParentObj(new himh045());