/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:37:10.62
*/
gx.evt.autoSkip=!1;gx.define("himh363",!1,function(){this.ServerClass="himh363";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Validv_Parmnroenquete=function(){return this.validCliEvt("Validv_Parmnroenquete",0,function(){try{var n=gx.util.balloon.getNew("vPARMNROENQUETE");this.AnyError=0}catch(t){}try{return n==null?!0:n.show()}catch(t){}return!0})};this.Validv_Scrnropergunta=function(){return this.validCliEvt("Validv_Scrnropergunta",0,function(){try{var n=gx.util.balloon.getNew("vSCRNROPERGUNTA");this.AnyError=0}catch(t){}try{return n==null?!0:n.show()}catch(t){}return!0})};this.e12lp2_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e13lp2_client=function(){return this.executeServerEvent("'VOLTAR'",!1,null,!1,!1)};this.e15lp2_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,35,36,37,38,39];this.GXLastCtrlId=39;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:"e13lp2_client"};n[14]={id:14,fld:"CABECALHOAPLICACAO_HELP",grid:0,evt:"e16lp1_client"};n[16]={id:16,fld:"CABECALHOAPLICACAO_REFRESH",grid:0,evt:"e17lp1_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:"BUTTON3",grid:0,evt:"e12lp2_client",std:"ENTER"};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"",grid:0};n[28]={id:28,fld:"TABLE2",grid:0};n[29]={id:29,fld:"",grid:0};n[30]={id:30,fld:"",grid:0};n[31]={id:31,fld:"",grid:0};n[32]={id:32,fld:"",grid:0};n[33]={id:33,lvl:0,type:"int",len:6,dec:0,sign:!1,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Validv_Parmnroenquete,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vPARMNROENQUETE",gxz:"ZV49ParmNroEnquete",gxold:"OV49ParmNroEnquete",gxvar:"AV49ParmNroEnquete",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV49ParmNroEnquete=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV49ParmNroEnquete=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vPARMNROENQUETE",gx.O.AV49ParmNroEnquete,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV49ParmNroEnquete=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vPARMNROENQUETE",".")},nac:gx.falseFn};n[34]={id:34,fld:"",grid:0};n[35]={id:35,fld:"",grid:0};n[36]={id:36,fld:"",grid:0};n[37]={id:37,fld:"",grid:0};n[38]={id:38,lvl:0,type:"int",len:3,dec:0,sign:!1,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Scrnropergunta,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vSCRNROPERGUNTA",gxz:"ZV48ScrNroPergunta",gxold:"OV48ScrNroPergunta",gxvar:"AV48ScrNroPergunta",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.AV48ScrNroPergunta=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.ZV48ScrNroPergunta=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("vSCRNROPERGUNTA",gx.O.AV48ScrNroPergunta,0)},c2v:function(){this.val()!==undefined&&(gx.O.AV48ScrNroPergunta=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("vSCRNROPERGUNTA",".")},nac:gx.falseFn};n[39]={id:39,fld:"PROMPT_SCRNROPERGUNTA",grid:0};this.AV49ParmNroEnquete=0;this.ZV49ParmNroEnquete=0;this.OV49ParmNroEnquete=0;this.AV48ScrNroPergunta=0;this.ZV48ScrNroPergunta=0;this.OV48ScrNroPergunta=0;this.AV49ParmNroEnquete=0;this.AV48ScrNroPergunta=0;this.A310EqpNroSequ=0;this.A307EqtNroSequ=0;this.A1163EqpTipApre="";this.Events={e12lp2_client:["ENTER",!0],e13lp2_client:["'VOLTAR'",!0],e15lp2_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"AV49ParmNroEnquete",fld:"vPARMNROENQUETE",pic:"ZZZZZ9"}],[]];this.EvtParms.START=[[],[]];this.EvtParms.ENTER=[[{av:"A307EqtNroSequ",fld:"EQTNROSEQU",pic:"ZZZZZ9"},{av:"AV49ParmNroEnquete",fld:"vPARMNROENQUETE",pic:"ZZZZZ9"},{av:"A310EqpNroSequ",fld:"EQPNROSEQU",pic:"ZZ9"},{av:"AV48ScrNroPergunta",fld:"vSCRNROPERGUNTA",pic:"ZZ9"},{av:"A1163EqpTipApre",fld:"EQPTIPAPRE",pic:""},{av:"AV52EqpTipApresentacao",fld:"vEQPTIPAPRESENTACAO",pic:""},{av:"Gx_msg",fld:"vMSG",pic:""}],[{av:"AV52EqpTipApresentacao",fld:"vEQPTIPAPRESENTACAO",pic:""},{av:"Gx_msg",fld:"vMSG",pic:""}]];this.EvtParms["'VOLTAR'"]=[[],[]];this.EvtParms.VALIDV_PARMNROENQUETE=[[],[]];this.EvtParms.VALIDV_SCRNROPERGUNTA=[[],[]];this.setPrompt("PROMPT_SCRNROPERGUNTA",[38]);this.EnterCtrl=["BUTTON3"];this.Initialize()});gx.setParentObj(new himh363)