gx.evt.autoSkip=false;function gx02f0(){this.ServerClass="Gx02F0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pPrgCod=gx.fn.getControlValue("vPPRGCOD")};this.e139w2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149w1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,50];this.GXLastCtrlId=50;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02f0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(693,43,"PRGCOD","Programa","","PrgCod","char",0,"px",8,8,"left",null,[],693,"PrgCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(695,44,"PRGDESLONG","Descricao","Selecionar","PrgDesLong","char",0,"px",34,34,"left",null,[],695,"PrgDesLong",true,0,false,false);
this.Grid1Container.addSingleLineEdit(694,45,"PRGDESABRE","Descricao abreviada","","PrgDesAbre","char",0,"px",20,20,"left",null,[],694,"PrgDesAbre",true,0,false,false);this.Grid1Container.addSingleLineEdit(697,46,"PRGINDSEGU","Tem seguranca?","","PrgIndSegu","char",0,"px",2,1,"left",null,[],697,"PrgIndSegu",true,0,false,false);this.Grid1Container.addSingleLineEdit(696,47,"PRGDESVERS","Versao","","PrgDesVers","char",0,"px",4,4,"left",null,[],696,"PrgDesVers",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:"TEXTBLOCKPRGCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRGCOD",gxz:"ZV6cPrgCod",gxold:"OV6cPrgCod",gxvar:"AV6cPrgCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cPrgCod=a},v2z:function(a){gx.O.ZV6cPrgCod=a},v2c:function(){gx.fn.setControlValue("vCPRGCOD",gx.O.AV6cPrgCod,0)
},c2v:function(){gx.O.AV6cPrgCod=this.val()},val:function(){return gx.fn.getControlValue("vCPRGCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPRGDESLONGA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:34,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRGDESLONGA",gxz:"ZV7cPrgDesLonga",gxold:"OV7cPrgDesLonga",gxvar:"AV7cPrgDesLonga",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPrgDesLonga=a},v2z:function(a){gx.O.ZV7cPrgDesLonga=a
},v2c:function(){gx.fn.setControlValue("vCPRGDESLONGA",gx.O.AV7cPrgDesLonga,0)},c2v:function(){gx.O.AV7cPrgDesLonga=this.val()},val:function(){return gx.fn.getControlValue("vCPRGDESLONGA")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKPRGDESABREV",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRGDESABREV",gxz:"ZV8cPrgDesAbrev",gxold:"OV8cPrgDesAbrev",gxvar:"AV8cPrgDesAbrev",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cPrgDesAbrev=a
},v2z:function(a){gx.O.ZV8cPrgDesAbrev=a},v2c:function(){gx.fn.setControlValue("vCPRGDESABREV",gx.O.AV8cPrgDesAbrev,0)},c2v:function(){gx.O.AV8cPrgDesAbrev=this.val()},val:function(){return gx.fn.getControlValue("vCPRGDESABREV")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPRGINDSEGUR",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRGINDSEGUR",gxz:"ZV9cPrgIndSegur",gxold:"OV9cPrgIndSegur",gxvar:"AV9cPrgIndSegur",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cPrgIndSegur=a
},v2z:function(a){gx.O.ZV9cPrgIndSegur=a},v2c:function(){gx.fn.setControlValue("vCPRGINDSEGUR",gx.O.AV9cPrgIndSegur,0)},c2v:function(){gx.O.AV9cPrgIndSegur=this.val()},val:function(){return gx.fn.getControlValue("vCPRGINDSEGUR")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKPRGDESVERSAO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:4,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPRGDESVERSAO",gxz:"ZV10cPrgDesVersao",gxold:"OV10cPrgDesVersao",gxvar:"AV10cPrgDesVersao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cPrgDesVersao=a
},v2z:function(a){gx.O.ZV10cPrgDesVersao=a},v2c:function(){gx.fn.setControlValue("vCPRGDESVERSAO",gx.O.AV10cPrgDesVersao,0)},c2v:function(){gx.O.AV10cPrgDesVersao=this.val()},val:function(){return gx.fn.getControlValue("vCPRGDESVERSAO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,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(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"char",len:8,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRGCOD",gxz:"Z693PrgCod",gxold:"O693PrgCod",gxvar:"A693PrgCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A693PrgCod=a
},v2z:function(a){gx.O.Z693PrgCod=a},v2c:function(){gx.fn.setGridControlValue("PRGCOD",gx.fn.currentGridRowImpl(41),gx.O.A693PrgCod,0)},c2v:function(){gx.O.A693PrgCod=this.val()},val:function(){return gx.fn.getGridControlValue("PRGCOD",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:34,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRGDESLONG",gxz:"Z695PrgDesLong",gxold:"O695PrgDesLong",gxvar:"A695PrgDesLong",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A695PrgDesLong=a
},v2z:function(a){gx.O.Z695PrgDesLong=a},v2c:function(){gx.fn.setGridControlValue("PRGDESLONG",gx.fn.currentGridRowImpl(41),gx.O.A695PrgDesLong,0)},c2v:function(){gx.O.A695PrgDesLong=this.val()},val:function(){return gx.fn.getGridControlValue("PRGDESLONG",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRGDESABRE",gxz:"Z694PrgDesAbre",gxold:"O694PrgDesAbre",gxvar:"A694PrgDesAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A694PrgDesAbre=a
},v2z:function(a){gx.O.Z694PrgDesAbre=a},v2c:function(){gx.fn.setGridControlValue("PRGDESABRE",gx.fn.currentGridRowImpl(41),gx.O.A694PrgDesAbre,0)},c2v:function(){gx.O.A694PrgDesAbre=this.val()},val:function(){return gx.fn.getGridControlValue("PRGDESABRE",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRGINDSEGU",gxz:"Z697PrgIndSegu",gxold:"O697PrgIndSegu",gxvar:"A697PrgIndSegu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A697PrgIndSegu=a
},v2z:function(a){gx.O.Z697PrgIndSegu=a},v2c:function(){gx.fn.setGridControlValue("PRGINDSEGU",gx.fn.currentGridRowImpl(41),gx.O.A697PrgIndSegu,0)},c2v:function(){gx.O.A697PrgIndSegu=this.val()},val:function(){return gx.fn.getGridControlValue("PRGINDSEGU",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"char",len:4,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PRGDESVERS",gxz:"Z696PrgDesVers",gxold:"O696PrgDesVers",gxvar:"A696PrgDesVers",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A696PrgDesVers=a
},v2z:function(a){gx.O.Z696PrgDesVers=a},v2c:function(){gx.fn.setGridControlValue("PRGDESVERS",gx.fn.currentGridRowImpl(41),gx.O.A696PrgDesVers,0)},c2v:function(){gx.O.A696PrgDesVers=this.val()},val:function(){return gx.fn.getGridControlValue("PRGDESVERS",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[50]={fld:"TABLE4",grid:0};this.AV6cPrgCod="";this.ZV6cPrgCod="";this.OV6cPrgCod="";this.AV7cPrgDesLonga="";this.ZV7cPrgDesLonga="";this.OV7cPrgDesLonga="";this.AV8cPrgDesAbrev="";
this.ZV8cPrgDesAbrev="";this.OV8cPrgDesAbrev="";this.AV9cPrgIndSegur="";this.ZV9cPrgIndSegur="";this.OV9cPrgIndSegur="";this.AV10cPrgDesVersao="";this.ZV10cPrgDesVersao="";this.OV10cPrgDesVersao="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z693PrgCod="";this.O693PrgCod="";this.Z695PrgDesLong="";this.O695PrgDesLong="";this.Z694PrgDesAbre="";this.O694PrgDesAbre="";this.Z697PrgIndSegu="";this.O697PrgIndSegu="";this.Z696PrgDesVers="";this.O696PrgDesVers="";this.AV11pPrgCod="";this.AV5LinkSelection="";
this.A693PrgCod="";this.A695PrgDesLong="";this.A694PrgDesAbre="";this.A697PrgIndSegu="";this.A696PrgDesVers="";this.ServerEvents=["e139w2_client","e149w1_client"];this.VarControlMap.AV11pPrgCod={id:"vPPRGCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);
this.SetStandaloneVars()}gx02f0.prototype=new gx.GxObject;gx.setParentObj(new gx02f0());