/*!   GeneXus C# 16_0_9-140712 on 4/17/2024 13:25:9.88
*/
gx.evt.autoSkip=!1;gx.define("hteste7",!1,function(){var t,n;this.ServerClass="hteste7";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.anyGridBaseTable=!0;this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV41ParmNroDocumento=gx.fn.getIntegerValue("vPARMNRODOCUMENTO",".")};this.e14cu2_client=function(){return this.executeServerEvent("ENTER",!0,arguments[0],!1,!1)};this.e15cu2_client=function(){return this.executeServerEvent("CANCEL",!0,arguments[0],!1,!1)};this.GXValidFnc=[];t=this.GXValidFnc;this.GXCtrlIds=[2,3,7,8,9];this.GXLastCtrlId=9;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",6,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hteste7",[],!1,1,!1,!0,0,!1,!1,!1,"",0,"px",0,"px","Novo registro",!1,!1,!1,gx.grid.flexGrid,null,!1,"",!1,[1,1,1,1],!1,0,!0,!1);n=this.Grid1Container;n.addSingleLineEdit(2,7,"IDICOD","Idioma","","IdiCod","char",0,"px",3,3,"left",null,[],2,"IdiCod",!0,0,!1,!1,"Attribute",1,"");n.addSingleLineEdit(668,8,"IDIDES","Descrição","","IdiDes","char",0,"px",30,30,"left",null,[],668,"IdiDes",!0,0,!1,!1,"Attribute",1,"");n.addSingleLineEdit(667,9,"IDICODMARC","IdiCodMarc","","IdiCodMarc","char",0,"px",3,3,"left",null,[],667,"IdiCodMarc",!0,0,!1,!1,"Attribute",1,"");this.Grid1Container.emptyText="";n.setRenderProp("Class","Class","MultiAcervo_GridListagem","str");n.setRenderProp("Enabled","Enabled",!0,"boolean");n.setRenderProp("FlexDirection","Flexdirection","row","str");n.setRenderProp("FlexWrap","Flexwrap","nowrap","str");n.setRenderProp("JustifyContent","Justifycontent","flex-start","str");n.setRenderProp("AlignItems","Alignitems","stretch","str");n.setRenderProp("AlignContent","Aligncontent","stretch","str");n.setRenderProp("Visible","Visible",!0,"boolean");this.setGrid(n);t[2]={id:2,fld:"",grid:0};t[3]={id:3,fld:"MAINTABLE",grid:0};t[7]={id:7,lvl:2,type:"char",len:3,dec:0,sign:!1,pic:"@!",ro:1,isacc:0,grid:6,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"IDICOD",gxz:"Z2IdiCod",gxold:"O2IdiCod",gxvar:"A2IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.A2IdiCod=n)},v2z:function(n){n!==undefined&&(gx.O.Z2IdiCod=n)},v2c:function(n){gx.fn.setGridControlValue("IDICOD",n||gx.fn.currentGridRowImpl(6),gx.O.A2IdiCod,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.A2IdiCod=this.val(n))},val:function(n){return gx.fn.getGridControlValue("IDICOD",n||gx.fn.currentGridRowImpl(6))},nac:gx.falseFn};t[8]={id:8,lvl:2,type:"char",len:30,dec:0,sign:!1,ro:1,isacc:0,grid:6,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"IDIDES",gxz:"Z668IdiDes",gxold:"O668IdiDes",gxvar:"A668IdiDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.A668IdiDes=n)},v2z:function(n){n!==undefined&&(gx.O.Z668IdiDes=n)},v2c:function(n){gx.fn.setGridControlValue("IDIDES",n||gx.fn.currentGridRowImpl(6),gx.O.A668IdiDes,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.A668IdiDes=this.val(n))},val:function(n){return gx.fn.getGridControlValue("IDIDES",n||gx.fn.currentGridRowImpl(6))},nac:gx.falseFn};t[9]={id:9,lvl:2,type:"char",len:3,dec:0,sign:!1,ro:1,isacc:0,grid:6,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"IDICODMARC",gxz:"Z667IdiCodMarc",gxold:"O667IdiCodMarc",gxvar:"A667IdiCodMarc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.A667IdiCodMarc=n)},v2z:function(n){n!==undefined&&(gx.O.Z667IdiCodMarc=n)},v2c:function(n){gx.fn.setGridControlValue("IDICODMARC",n||gx.fn.currentGridRowImpl(6),gx.O.A667IdiCodMarc,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.A667IdiCodMarc=this.val(n))},val:function(n){return gx.fn.getGridControlValue("IDICODMARC",n||gx.fn.currentGridRowImpl(6))},nac:gx.falseFn};this.Z2IdiCod="";this.O2IdiCod="";this.Z668IdiDes="";this.O668IdiDes="";this.Z667IdiCodMarc="";this.O667IdiCodMarc="";this.AV41ParmNroDocumento=0;this.A2IdiCod="";this.A668IdiDes="";this.A667IdiCodMarc="";this.Events={e14cu2_client:["ENTER",!0],e15cu2_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"}],[]];this.EvtParms.START=[[{av:"AV53imagesDataCompleto",fld:"vIMAGESDATACOMPLETO",pic:""}],[{av:"AV53imagesDataCompleto",fld:"vIMAGESDATACOMPLETO",pic:""}]];this.EvtParms.LOAD=[[],[]];this.EvtParms.ENTER=[[],[]];this.setVCMap("AV41ParmNroDocumento","vPARMNRODOCUMENTO",0,"int",6,0);this.Initialize()});gx.setParentObj(new hteste7)