/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:37:22.37
*/
gx.evt.autoSkip=!1;gx.define("himh379",!1,function(){var n,t;this.ServerClass="himh379";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV19ParmEndFinalDiretorio=gx.fn.getControlValue("vPARMENDFINALDIRETORIO");this.AV19ParmEndFinalDiretorio=gx.fn.getControlValue("vPARMENDFINALDIRETORIO");this.AV14MsgErro=gx.fn.getControlValue("vMSGERRO")};this.e12mm2_client=function(){return this.executeServerEvent("ENTER",!0,arguments[0],!1,!1)};this.e14mm1_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,9,12,14,16,19,20,21,22,23,25];this.GXLastCtrlId=25;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",24,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh379",[],!1,1,!1,!0,0,!1,!1,!1,"",0,"px",0,"px","Novo registro",!1,!1,!1,null,null,!1,"",!1,[1,1,1,1],!1,0,!0,!1);t=this.Grid1Container;t.addSingleLineEdit("Grdnompasta",25,"vGRDNOMPASTA","Pasta","","GrdNomPasta","char",0,"px",120,80,"left",null,[],"Grdnompasta","GrdNomPasta",!0,0,!1,!1,"Attribute",1,"");this.Grid1Container.emptyText="";this.setGrid(t);n[2]={id:2,fld:"",grid:0};n[3]={id:3,fld:"MAINTABLE",grid:0};n[4]={id:4,fld:"",grid:0};n[5]={id:5,fld:"",grid:0};n[6]={id:6,fld:"CABECALHOPOPUP",grid:0};n[9]={id:9,fld:"CABECALHOPOPUP_TABLE1",grid:0};n[12]={id:12,fld:"CABECALHOPOPUP_VOLTAR",grid:0,evt:"e14mm1_client"};n[14]={id:14,fld:"CABECALHOPOPUP_HELP",grid:0,evt:"e15mm1_client"};n[16]={id:16,fld:"CABECALHOPOPUP_REFRESH",grid:0,evt:"e16mm1_client"};n[19]={id:19,fld:"",grid:0};n[20]={id:20,fld:"",grid:0};n[21]={id:21,fld:"TABLE1",grid:0};n[22]={id:22,fld:"",grid:0};n[23]={id:23,fld:"",grid:0};n[25]={id:25,lvl:2,type:"char",len:120,dec:0,sign:!1,ro:1,isacc:0,grid:24,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vGRDNOMPASTA",gxz:"ZV39GrdNomPasta",gxold:"OV39GrdNomPasta",gxvar:"AV39GrdNomPasta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.AV39GrdNomPasta=n)},v2z:function(n){n!==undefined&&(gx.O.ZV39GrdNomPasta=n)},v2c:function(n){gx.fn.setGridControlValue("vGRDNOMPASTA",n||gx.fn.currentGridRowImpl(24),gx.O.AV39GrdNomPasta,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.AV39GrdNomPasta=this.val(n))},val:function(n){return gx.fn.getGridControlValue("vGRDNOMPASTA",n||gx.fn.currentGridRowImpl(24))},nac:gx.falseFn};this.AV19ParmEndFinalDiretorio="";this.AV39GrdNomPasta="";this.AV14MsgErro="";this.Events={e12mm2_client:["ENTER",!0],e14mm1_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{av:"AV19ParmEndFinalDiretorio",fld:"vPARMENDFINALDIRETORIO",pic:""},{av:"AV14MsgErro",fld:"vMSGERRO",pic:""}],[]];this.EvtParms.START=[[],[]];this.EvtParms.ENTER=[[],[]];this.EvtParms.LOAD=[[{av:"AV19ParmEndFinalDiretorio",fld:"vPARMENDFINALDIRETORIO",pic:""},{av:"AV14MsgErro",fld:"vMSGERRO",pic:""}],[{av:"AV14MsgErro",fld:"vMSGERRO",pic:""},{av:"AV39GrdNomPasta",fld:"vGRDNOMPASTA",pic:""}]];this.setVCMap("AV19ParmEndFinalDiretorio","vPARMENDFINALDIRETORIO",0,"char",200,0);this.setVCMap("AV19ParmEndFinalDiretorio","vPARMENDFINALDIRETORIO",0,"char",200,0);this.setVCMap("AV14MsgErro","vMSGERRO",0,"char",90,0);this.setVCMap("AV19ParmEndFinalDiretorio","vPARMENDFINALDIRETORIO",0,"char",200,0);this.setVCMap("AV14MsgErro","vMSGERRO",0,"char",90,0);t.addRefreshingVar({rfrVar:"AV19ParmEndFinalDiretorio"});t.addRefreshingVar({rfrVar:"AV14MsgErro"});t.addRefreshingParm({rfrVar:"AV19ParmEndFinalDiretorio"});t.addRefreshingParm({rfrVar:"AV14MsgErro"});this.Initialize()});gx.setParentObj(new himh379)