/*!   GeneXus C# 16_0_9-140712 on 4/17/2024 13:17:58.75
*/
gx.evt.autoSkip=!1;gx.define("tbqrcode",!1,function(){this.ServerClass="tbqrcode";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){};this.Valid_Qrcodeid=function(){return this.validSrvEvt("Valid_Qrcodeid",0).then(function(n){return n}.closure(this))};this.e116b185_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e126b185_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];var n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48];this.GXLastCtrlId=48;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:"TITLECONTAINER",grid:0};n[7]={id:7,fld:"",grid:0};n[8]={id:8,fld:"",grid:0};n[9]={id:9,fld:"TITLE",format:0,grid:0};n[10]={id:10,fld:"",grid:0};n[11]={id:11,fld:"",grid:0};n[13]={id:13,fld:"",grid:0};n[14]={id:14,fld:"",grid:0};n[15]={id:15,fld:"FORMCONTAINER",grid:0};n[16]={id:16,fld:"",grid:0};n[17]={id:17,fld:"TOOLBARCELL",grid:0};n[18]={id:18,fld:"",grid:0};n[19]={id:19,fld:"",grid:0};n[20]={id:20,fld:"",grid:0};n[21]={id:21,fld:"BTN_FIRST",grid:0,evt:"e136b185_client",std:"FIRST"};n[22]={id:22,fld:"",grid:0};n[23]={id:23,fld:"BTN_PREVIOUS",grid:0,evt:"e146b185_client",std:"PREVIOUS"};n[24]={id:24,fld:"",grid:0};n[25]={id:25,fld:"BTN_NEXT",grid:0,evt:"e156b185_client",std:"NEXT"};n[26]={id:26,fld:"",grid:0};n[27]={id:27,fld:"BTN_LAST",grid:0,evt:"e166b185_client",std:"LAST"};n[28]={id:28,fld:"",grid:0};n[29]={id:29,fld:"BTN_SELECT",grid:0,evt:"e176b185_client",std:"SELECT"};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,fld:"",grid:0};n[34]={id:34,lvl:0,type:"int",len:4,dec:0,sign:!1,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Qrcodeid,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"QRCODEID",gxz:"Z1276QrCodeID",gxold:"O1276QrCodeID",gxvar:"A1276QrCodeID",ucs:[],op:[39],ip:[39,34],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A1276QrCodeID=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z1276QrCodeID=gx.num.intval(n))},v2c:function(){gx.fn.setControlValue("QRCODEID",gx.O.A1276QrCodeID,0)},c2v:function(){this.val()!==undefined&&(gx.O.A1276QrCodeID=gx.num.intval(this.val()))},val:function(){return gx.fn.getIntegerValue("QRCODEID",".")},nac:gx.falseFn};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,fld:"",grid:0};n[39]={id:39,lvl:0,type:"bitstr",len:1024,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"QRCODEIMG",gxz:"Z1277QrCodeImg",gxold:"O1277QrCodeImg",gxvar:"A1277QrCodeImg",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){n!==undefined&&(gx.O.A1277QrCodeImg=n)},v2z:function(n){n!==undefined&&(gx.O.Z1277QrCodeImg=n)},v2c:function(){gx.fn.setBlobValue("QRCODEIMG",gx.O.A1277QrCodeImg)},c2v:function(){this.val()!==undefined&&(gx.O.A1277QrCodeImg=this.val())},val:function(){return gx.fn.getBlobValue("QRCODEIMG")},nac:gx.falseFn};n[40]={id:40,fld:"",grid:0};n[41]={id:41,fld:"",grid:0};n[42]={id:42,fld:"",grid:0};n[43]={id:43,fld:"",grid:0};n[44]={id:44,fld:"BTN_ENTER",grid:0,evt:"e116b185_client",std:"ENTER"};n[45]={id:45,fld:"",grid:0};n[46]={id:46,fld:"BTN_CANCEL",grid:0,evt:"e126b185_client"};n[47]={id:47,fld:"",grid:0};n[48]={id:48,fld:"BTN_DELETE",grid:0,evt:"e186b185_client",std:"DELETE"};this.A1276QrCodeID=0;this.Z1276QrCodeID=0;this.O1276QrCodeID=0;this.A1277QrCodeImg="";this.Z1277QrCodeImg="";this.O1277QrCodeImg="";this.A1276QrCodeID=0;this.A1277QrCodeImg="";this.Events={e116b185_client:["ENTER",!0],e126b185_client:["CANCEL",!0]};this.EvtParms.ENTER=[[{postForm:!0}],[]];this.EvtParms.REFRESH=[[],[]];this.EvtParms.VALID_QRCODEID=[[{av:"A1276QrCodeID",fld:"QRCODEID",pic:"ZZZ9"},{av:"Gx_mode",fld:"vMODE",pic:"@!"}],[{av:"A1277QrCodeImg",fld:"QRCODEIMG",pic:""},{av:'gx.fn.getCtrlProperty("QRCODEIMG","Filetype")',ctrl:"QRCODEIMG",prop:"Filetype"},{ctrl:"QRCODEIMG",prop:"Filename"},{av:"Gx_mode",fld:"vMODE",pic:"@!"},{av:"Z1276QrCodeID"},{av:"Z1277QrCodeImg"},{ctrl:"BTN_DELETE",prop:"Enabled"},{ctrl:"BTN_ENTER",prop:"Enabled"}]];this.EnterCtrl=["BTN_ENTER"];this.Initialize()});gx.setParentObj(new tbqrcode)