gx.evt.autoSkip=false;function himh174(){this.ServerClass="Himh174";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV42VncCodOrigem=gx.fn.getControlValue("vVNCCODORIGEM")};this.e11ed2_client=function(){this.executeServerEvent("'NOVO'",false)};this.e14ed2_client=function(){this.executeServerEvent("'EDITARVINCULO'",true,arguments[0])};this.e15ed2_client=function(){this.executeServerEvent("'APAGARVINCULO'",true,arguments[0])
};this.e16ed2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e17ed1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,20,23,24,25,26,27,28];this.GXLastCtrlId=28;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",22,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh174",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Vncnro",23,"vVNCNRO","Nr. vínculo","","VncNro","int",0,"px",8,8,"right",null,[],"Vncnro","VncNro",false,0,false,false);
this.Grid1Container.addBitmap("&Imagemeditar","vIMAGEMEDITAR",24,0,"px",17,"px","e14ed2_client","","");this.Grid1Container.addSingleLineEdit("Vncnomarquivo",25,"vVNCNOMARQUIVO","Nome","","VncNomArquivo","char",0,"px",190,190,"left",null,[],"Vncnomarquivo","VncNomArquivo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Vnccodextensao",26,"vVNCCODEXTENSAO","Extensão","","VncCodExtensao","char",0,"px",10,10,"left",null,[],"Vnccodextensao","VncCodExtensao",true,0,false,false);this.Grid1Container.addSingleLineEdit("Dsctipoarmazenamento",27,"vDSCTIPOARMAZENAMENTO","Armazenamento","","DscTipoArmazenamento","char",0,"px",25,25,"left",null,[],"Dsctipoarmazenamento","DscTipoArmazenamento",true,0,false,false);
this.Grid1Container.addBitmap("&Imagemexcluir","vIMAGEMEXCLUIR",28,0,"px",17,"px","e15ed2_client","","");this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[6]={fld:"TABLE2",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRINDCONFIRMAAPAGAR",gxz:"ZV57ScrIndConfirmaApagar",gxold:"OV57ScrIndConfirmaApagar",gxvar:"AV57ScrIndConfirmaApagar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV57ScrIndConfirmaApagar=a
},v2z:function(a){gx.O.ZV57ScrIndConfirmaApagar=a},v2c:function(){gx.fn.setCheckBoxValue("vSCRINDCONFIRMAAPAGAR",gx.O.AV57ScrIndConfirmaApagar,"S")},c2v:function(){gx.O.AV57ScrIndConfirmaApagar=this.val()},val:function(){return gx.fn.getCheckBoxValue("vSCRINDCONFIRMAAPAGAR","S","N")},nac:function(){return false}};this.GXValidFnc[23]={lvl:2,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:0,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vVNCNRO",gxz:"ZV44VncNro",gxold:"OV44VncNro",gxvar:"AV44VncNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV44VncNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV44VncNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vVNCNRO",gx.fn.currentGridRowImpl(22),gx.O.AV44VncNro,0)},c2v:function(){gx.O.AV44VncNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("vVNCNRO",gx.fn.currentGridRowImpl(22),".")},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMAGEMEDITAR",gxz:"ZV20ImagemEditar",gxold:"OV20ImagemEditar",gxvar:"AV20ImagemEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20ImagemEditar=a
},v2z:function(a){gx.O.ZV20ImagemEditar=a},v2c:function(){},c2v:function(){gx.O.AV20ImagemEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMAGEMEDITAR",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"char",len:190,dec:0,sign:false,ro:0,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVNCNOMARQUIVO",gxz:"ZV43VncNomArquivo",gxold:"OV43VncNomArquivo",gxvar:"AV43VncNomArquivo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV43VncNomArquivo=a
},v2z:function(a){gx.O.ZV43VncNomArquivo=a},v2c:function(){gx.fn.setGridControlValue("vVNCNOMARQUIVO",gx.fn.currentGridRowImpl(22),gx.O.AV43VncNomArquivo,0)},c2v:function(){gx.O.AV43VncNomArquivo=this.val()},val:function(){return gx.fn.getGridControlValue("vVNCNOMARQUIVO",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:0,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVNCCODEXTENSAO",gxz:"ZV41VncCodExtensao",gxold:"OV41VncCodExtensao",gxvar:"AV41VncCodExtensao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV41VncCodExtensao=a
},v2z:function(a){gx.O.ZV41VncCodExtensao=a},v2c:function(){gx.fn.setGridControlValue("vVNCCODEXTENSAO",gx.fn.currentGridRowImpl(22),gx.O.AV41VncCodExtensao,0)},c2v:function(){gx.O.AV41VncCodExtensao=this.val()},val:function(){return gx.fn.getGridControlValue("vVNCCODEXTENSAO",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:0,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCTIPOARMAZENAMENTO",gxz:"ZV49DscTipoArmazenamento",gxold:"OV49DscTipoArmazenamento",gxvar:"AV49DscTipoArmazenamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV49DscTipoArmazenamento=a
},v2z:function(a){gx.O.ZV49DscTipoArmazenamento=a},v2c:function(){gx.fn.setGridControlValue("vDSCTIPOARMAZENAMENTO",gx.fn.currentGridRowImpl(22),gx.O.AV49DscTipoArmazenamento,0)},c2v:function(){gx.O.AV49DscTipoArmazenamento=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCTIPOARMAZENAMENTO",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:22,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMAGEMEXCLUIR",gxz:"ZV55ImagemExcluir",gxold:"OV55ImagemExcluir",gxvar:"AV55ImagemExcluir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV55ImagemExcluir=a
},v2z:function(a){gx.O.ZV55ImagemExcluir=a},v2c:function(){},c2v:function(){gx.O.AV55ImagemExcluir=this.val()},val:function(){return gx.fn.getGridControlValue("vIMAGEMEXCLUIR",gx.fn.currentGridRowImpl(22))},nac:function(){return false}};this.AV57ScrIndConfirmaApagar="";this.ZV57ScrIndConfirmaApagar="";this.OV57ScrIndConfirmaApagar="";this.ZV44VncNro=0;this.OV44VncNro=0;this.ZV20ImagemEditar="";this.OV20ImagemEditar="";this.ZV43VncNomArquivo="";this.OV43VncNomArquivo="";this.ZV41VncCodExtensao="";
this.OV41VncCodExtensao="";this.ZV49DscTipoArmazenamento="";this.OV49DscTipoArmazenamento="";this.ZV55ImagemExcluir="";this.OV55ImagemExcluir="";this.AV42VncCodOrigem="";this.AV44VncNro=0;this.AV20ImagemEditar="";this.AV43VncNomArquivo="";this.AV41VncCodExtensao="";this.AV49DscTipoArmazenamento="";this.AV55ImagemExcluir="";this.A303DviTipArqu="";this.A258DocNro=0;this.A300DviNomArqu="";this.A299DviDesVinc="";this.A302DviNroVinc=0;this.A301DviNroItem=0;this.A986VncCodOrig="";this.A988VncNomArqu="";
this.A985VncCodExte="";this.A989VncNro=0;this.ServerEvents=["e11ed2_client","e14ed2_client","e15ed2_client","e16ed2_client","e17ed1_client"];this.VarControlMap.AV42VncCodOrigem={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.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.AV42VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};this.VarControlMap.AV31PerSubstituir={id:"vPERSUBSTITUIR",grid:0,type:"char"};this.VarControlMap.AV28PerEliminar={id:"vPERELIMINAR",grid:0,type:"char"};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:"A303DviTipArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"A302DviNroVinc"});this.Grid1Container.addRefreshingVar({rfrVar:"A301DviNroItem"});this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV42VncCodOrigem"});this.Grid1Container.addRefreshingVar({rfrVar:"AV31PerSubstituir"});
this.Grid1Container.addRefreshingVar({rfrVar:"AV28PerEliminar"});this.Grid1Container.addRefreshingVar({rfrVar:"A985VncCodExte"});this.Grid1Container.addRefreshingVar({rfrVar:"A988VncNomArqu"});this.Grid1Container.addRefreshingVar({rfrVar:"A989VncNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A986VncCodOrig"});this.SetStandaloneVars()}himh174.prototype=new gx.GxObject;gx.setParentObj(new himh174());