/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:37:16.20
*/
gx.evt.autoSkip=!1;gx.define("himh369",!1,function(){this.ServerClass="himh369";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV9ParmIndCodigoInserir=gx.fn.getIntegerValue("vPARMINDCODIGOINSERIR",".")};this.e12m02_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e14m01_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,9,12,14,16,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,37,39,40];this.GXLastCtrlId=40;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:"CABECALHOAPLICACAO",grid:0};n[9]={id:9,fld:"CABECALHOAPLICACAO_TABLE1",grid:0};n[12]={id:12,fld:"CABECALHOAPLICACAO_VOLTAR",grid:0,evt:"e14m01_client"};n[14]={id:14,fld:"CABECALHOAPLICACAO_HELP",grid:0};n[16]={id:16,fld:"CABECALHOAPLICACAO_REFRESH",grid:0,evt:"e15m01_client"};n[18]={id:18,fld:"CABECALHOAPLICACAO_TEXTBLOCK1",format:0,grid:0};n[21]={id:21,fld:"",grid:0};n[22]={id:22,fld:"",grid:0};n[23]={id:23,fld:"",grid:0};n[24]={id:24,fld:"",grid:0};n[25]={id:25,fld:"BUTTON1",grid:0,evt:"e12m02_client",std:"ENTER"};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"",grid:0};n[28]={id:28,fld:"TABLE1",grid:0};n[29]={id:29,fld:"",grid:0};n[30]={id:30,fld:"",grid:0};n[31]={id:31,fld:"MENSAGEM",format:0,grid:0};n[32]={id:32,fld:"",grid:0};n[33]={id:33,fld:"",grid:0};n[34]={id:34,fld:"TABLE2",grid:0};n[37]={id:37,fld:"TEXTBLOCK1",format:0,grid:0};n[39]={id:39,fld:"",grid:0};n[40]={id:40,lvl:0,type:"char",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vSCRCODINSERIR",gxz:"ZV10ScrCodInserir",gxold:"OV10ScrCodInserir",gxvar:"AV10ScrCodInserir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV10ScrCodInserir=n)},v2z:function(n){n!==undefined&&(gx.O.ZV10ScrCodInserir=n)},v2c:function(){gx.fn.setControlValue("vSCRCODINSERIR",gx.O.AV10ScrCodInserir,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV10ScrCodInserir=this.val())},val:function(){return gx.fn.getControlValue("vSCRCODINSERIR")},nac:gx.falseFn};this.AV10ScrCodInserir="";this.AV9ParmIndCodigoInserir=0;this.Events={e12m02_client:["ENTER",!0],e14m01_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"AV9ParmIndCodigoInserir",fld:"vPARMINDCODIGOINSERIR",pic:"Z9"}],[]];this.EvtParms.START=[[{av:"AV9ParmIndCodigoInserir",fld:"vPARMINDCODIGOINSERIR",pic:"Z9"},{av:"AV8IndPodeModificarLeitores",fld:"vINDPODEMODIFICARLEITORES",pic:""}],[{av:'gx.fn.getCtrlProperty("MENSAGEM","Visible")',ctrl:"MENSAGEM",prop:"Visible"},{av:"AV8IndPodeModificarLeitores",fld:"vINDPODEMODIFICARLEITORES",pic:""},{av:'gx.fn.getCtrlProperty("CABECALHOAPLICACAO_TEXTBLOCK1","Caption")',ctrl:"CABECALHOAPLICACAO_TEXTBLOCK1",prop:"Caption"}]];this.EvtParms.ENTER=[[{av:"AV10ScrCodInserir",fld:"vSCRCODINSERIR",pic:""},{av:"AV9ParmIndCodigoInserir",fld:"vPARMINDCODIGOINSERIR",pic:"Z9"},{av:"AV8IndPodeModificarLeitores",fld:"vINDPODEMODIFICARLEITORES",pic:""},{av:"AV12CodLeitor",fld:"vCODLEITOR",pic:"@!"},{av:"Gx_msg",fld:"vMSG",pic:""}],[{av:"Gx_msg",fld:"vMSG",pic:""},{av:"AV12CodLeitor",fld:"vCODLEITOR",pic:"@!"},{av:"AV10ScrCodInserir",fld:"vSCRCODINSERIR",pic:""}]];this.EnterCtrl=["BUTTON1"];this.setVCMap("AV9ParmIndCodigoInserir","vPARMINDCODIGOINSERIR",0,"int",2,0);this.Initialize()});gx.setParentObj(new himh369)