gx.evt.autoSkip=false;function himh045b(){this.ServerClass="HImh045b";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.A986VncCodOrig=gx.fn.getControlValue("VNCCODORIG")};this.e134u2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e144u1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,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,"himh045b",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addBlob(990,16,"VNCVALCONT","","VncValCont","bitstr",1,60,0,"px","px",true,false);this.Grid1Container.addBitmap("&Imagemeditar","vIMAGEMEDITAR",17,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(988,18,"VNCNOMARQU","Nome","","VncNomArqu","char",0,"px",100,100,"left",null,[],988,"VncNomArqu",true,0,false,false);this.Grid1Container.addSingleLineEdit(985,19,"VNCCODEXTE","Extensão","","VncCodExte","char",0,"px",10,10,"left",null,[],985,"VncCodExte",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Vinculo",20,"vVINCULO","","","Vinculo","vchar",0,"px",4000,4000,"left",null,[],"Vinculo","Vinculo",true,250,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={lvl:2,type:"bitstr",len:1024,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"VNCVALCONT",gxz:"Z990VncValCont",gxold:"O990VncValCont",gxvar:"A990VncValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A990VncValCont=a
},v2z:function(a){gx.O.Z990VncValCont=a},v2c:function(){},c2v:function(){gx.O.A990VncValCont=this.val()},val:function(){return gx.fn.getGridControlValue("VNCVALCONT",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIMAGEMEDITAR",gxz:"ZV5ImagemEditar",gxold:"OV5ImagemEditar",gxvar:"AV5ImagemEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5ImagemEditar=a
},v2z:function(a){gx.O.ZV5ImagemEditar=a},v2c:function(){},c2v:function(){gx.O.AV5ImagemEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vIMAGEMEDITAR",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"VNCNOMARQU",gxz:"Z988VncNomArqu",gxold:"O988VncNomArqu",gxvar:"A988VncNomArqu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A988VncNomArqu=a
},v2z:function(a){gx.O.Z988VncNomArqu=a},v2c:function(){gx.fn.setGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(15),gx.O.A988VncNomArqu,0)},c2v:function(){gx.O.A988VncNomArqu=this.val()},val:function(){return gx.fn.getGridControlValue("VNCNOMARQU",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"VNCCODEXTE",gxz:"Z985VncCodExte",gxold:"O985VncCodExte",gxvar:"A985VncCodExte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A985VncCodExte=a
},v2z:function(a){gx.O.Z985VncCodExte=a},v2c:function(){gx.fn.setGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(15),gx.O.A985VncCodExte,0)},c2v:function(){gx.O.A985VncCodExte=this.val()},val:function(){return gx.fn.getGridControlValue("VNCCODEXTE",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"vchar",len:4000,dec:250,sign:false,ro:1,grid:15,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vVINCULO",gxz:"ZV6Vinculo",gxold:"OV6Vinculo",gxvar:"AV6Vinculo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6Vinculo=a
},v2z:function(a){gx.O.ZV6Vinculo=a},v2c:function(){gx.fn.setGridControlValue("vVINCULO",gx.fn.currentGridRowImpl(15),gx.O.AV6Vinculo,1)},c2v:function(){gx.O.AV6Vinculo=this.val()},val:function(){return gx.fn.getGridControlValue("vVINCULO",gx.fn.currentGridRowImpl(15))},nac:function(){return false}};this.Z990VncValCont="";this.O990VncValCont="";this.ZV5ImagemEditar="";this.OV5ImagemEditar="";this.Z988VncNomArqu="";this.O988VncNomArqu="";this.Z985VncCodExte="";this.O985VncCodExte="";this.ZV6Vinculo="";
this.OV6Vinculo="";this.A986VncCodOrig="";this.A989VncNro=0;this.A990VncValCont="";this.AV5ImagemEditar="";this.A988VncNomArqu="";this.A985VncCodExte="";this.AV6Vinculo="";this.ServerEvents=["e134u2_client","e144u1_client"];this.VarControlMap.A986VncCodOrig={id:"VNCCODORIG",grid:0,type:"char"};this.VarControlMap.A986VncCodOrig={id:"VNCCODORIG",grid:0,type:"char"};this.VarControlMap.A989VncNro={id:"VNCNRO",grid:0,type:"int"};this.VarControlMap.AV39PerSubstituir={id:"vPERSUBSTITUIR",grid:0,type:"char"};
this.VarControlMap.AV36PerEliminar={id:"vPERELIMINAR",grid:0,type:"char"};this.VarControlMap.AV35NomArquivo={id:"vNOMARQUIVO",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"A986VncCodOrig"});this.Grid1Container.addRefreshingVar({rfrVar:"A989VncNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV39PerSubstituir"});this.Grid1Container.addRefreshingVar({rfrVar:"AV36PerEliminar"});this.Grid1Container.addRefreshingVar({rfrVar:"AV35NomArquivo"});this.SetStandaloneVars()}himh045b.prototype=new gx.GxObject;
gx.setParentObj(new himh045b());