gx.evt.autoSkip=false;function gx0450(){this.ServerClass="Gx0450";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pTipCod=gx.fn.getControlValue("vPTIPCOD")};this.e13da2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14da1_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,"gx0450",[],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(881,28,"TIPCOD","Tipo","","TipCod","char",0,"px",3,3,"left",null,[],881,"TipCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(882,29,"TIPDES","Descrição","Selecionar","TipDes","char",0,"px",30,30,"left",null,[],882,"TipDes",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:"TEXTBLOCKTIPCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCTIPCOD",gxz:"ZV6cTipCod",gxold:"OV6cTipCod",gxvar:"AV6cTipCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cTipCod=a},v2z:function(a){gx.O.ZV6cTipCod=a
},v2c:function(){gx.fn.setControlValue("vCTIPCOD",gx.O.AV6cTipCod,0)},c2v:function(){gx.O.AV6cTipCod=this.val()},val:function(){return gx.fn.getControlValue("vCTIPCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKTIPDES",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:"vCTIPDES",gxz:"ZV7cTipDes",gxold:"OV7cTipDes",gxvar:"AV7cTipDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cTipDes=a
},v2z:function(a){gx.O.ZV7cTipDes=a},v2c:function(){gx.fn.setControlValue("vCTIPDES",gx.O.AV7cTipDes,0)},c2v:function(){gx.O.AV7cTipDes=this.val()},val:function(){return gx.fn.getControlValue("vCTIPDES")},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:3,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIPCOD",gxz:"Z881TipCod",gxold:"O881TipCod",gxvar:"A881TipCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A881TipCod=a
},v2z:function(a){gx.O.Z881TipCod=a},v2c:function(){gx.fn.setGridControlValue("TIPCOD",gx.fn.currentGridRowImpl(26),gx.O.A881TipCod,0)},c2v:function(){gx.O.A881TipCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIPCOD",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:"TIPDES",gxz:"Z882TipDes",gxold:"O882TipDes",gxvar:"A882TipDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A882TipDes=a
},v2z:function(a){gx.O.Z882TipDes=a},v2c:function(){gx.fn.setGridControlValue("TIPDES",gx.fn.currentGridRowImpl(26),gx.O.A882TipDes,0)},c2v:function(){gx.O.A882TipDes=this.val()},val:function(){return gx.fn.getGridControlValue("TIPDES",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cTipCod="";this.ZV6cTipCod="";this.OV6cTipCod="";this.AV7cTipDes="";this.ZV7cTipDes="";this.OV7cTipDes="";this.ZV5LinkSelection="";this.OV5LinkSelection="";
this.Z881TipCod="";this.O881TipCod="";this.Z882TipDes="";this.O882TipDes="";this.AV8pTipCod="";this.AV5LinkSelection="";this.A881TipCod="";this.A882TipDes="";this.ServerEvents=["e13da2_client","e14da1_client"];this.VarControlMap.AV8pTipCod={id:"vPTIPCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.SetStandaloneVars()}gx0450.prototype=new gx.GxObject;gx.setParentObj(new gx0450());