gx.evt.autoSkip=false;function gx02c0(){this.ServerClass="Gx02C0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pTgeCodTabela=gx.fn.getControlValue("vPTGECODTABELA");this.AV9pTgeCodChave=gx.fn.getControlValue("vPTGECODCHAVE")};this.e13bq2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bq1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,32];this.GXLastCtrlId=32;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02c0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(859,28,"TGECODTABE","Tabela","","TgeCodTabe","char",0,"px",10,10,"left",null,[],859,"TgeCodTabe",true,0,false,false);
this.Grid1Container.addSingleLineEdit(858,29,"TGECODCHAV","Chave","","TgeCodChav","char",0,"px",30,30,"left",null,[],858,"TgeCodChav",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKTGECODTABELA",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTGECODTABELA",gxz:"ZV6cTgeCodTabela",gxold:"OV6cTgeCodTabela",gxvar:"AV6cTgeCodTabela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cTgeCodTabela=a
},v2z:function(a){gx.O.ZV6cTgeCodTabela=a},v2c:function(){gx.fn.setControlValue("vCTGECODTABELA",gx.O.AV6cTgeCodTabela,0)},c2v:function(){gx.O.AV6cTgeCodTabela=this.val()},val:function(){return gx.fn.getControlValue("vCTGECODTABELA")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKTGECODCHAVE",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTGECODCHAVE",gxz:"ZV7cTgeCodChave",gxold:"OV7cTgeCodChave",gxvar:"AV7cTgeCodChave",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cTgeCodChave=a
},v2z:function(a){gx.O.ZV7cTgeCodChave=a},v2c:function(){gx.fn.setControlValue("vCTGECODCHAVE",gx.O.AV7cTgeCodChave,0)},c2v:function(){gx.O.AV7cTgeCodChave=this.val()},val:function(){return gx.fn.getControlValue("vCTGECODCHAVE")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TGECODTABE",gxz:"Z859TgeCodTabe",gxold:"O859TgeCodTabe",gxvar:"A859TgeCodTabe",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A859TgeCodTabe=a
},v2z:function(a){gx.O.Z859TgeCodTabe=a},v2c:function(){gx.fn.setGridControlValue("TGECODTABE",gx.fn.currentGridRowImpl(26),gx.O.A859TgeCodTabe,0)},c2v:function(){gx.O.A859TgeCodTabe=this.val()},val:function(){return gx.fn.getGridControlValue("TGECODTABE",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TGECODCHAV",gxz:"Z858TgeCodChav",gxold:"O858TgeCodChav",gxvar:"A858TgeCodChav",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A858TgeCodChav=a
},v2z:function(a){gx.O.Z858TgeCodChav=a},v2c:function(){gx.fn.setGridControlValue("TGECODCHAV",gx.fn.currentGridRowImpl(26),gx.O.A858TgeCodChav,0)},c2v:function(){gx.O.A858TgeCodChav=this.val()},val:function(){return gx.fn.getGridControlValue("TGECODCHAV",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cTgeCodTabela="";this.ZV6cTgeCodTabela="";this.OV6cTgeCodTabela="";this.AV7cTgeCodChave="";this.ZV7cTgeCodChave="";this.OV7cTgeCodChave="";
this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z859TgeCodTabe="";this.O859TgeCodTabe="";this.Z858TgeCodChav="";this.O858TgeCodChav="";this.AV8pTgeCodTabela="";this.AV9pTgeCodChave="";this.AV5LinkSelection="";this.A859TgeCodTabe="";this.A858TgeCodChav="";this.ServerEvents=["e13bq2_client","e14bq1_client"];this.VarControlMap.AV8pTgeCodTabela={id:"vPTGECODTABELA",grid:0,type:"char"};this.VarControlMap.AV9pTgeCodChave={id:"vPTGECODCHAVE",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.SetStandaloneVars()}gx02c0.prototype=new gx.GxObject;gx.setParentObj(new gx02c0());