gx.evt.autoSkip=false;function gx0340(){this.ServerClass="Gx0340";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pAreCod=gx.fn.getControlValue("vPARECOD")};this.e13aw2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14aw1_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,"gx0340",[],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(15,28,"ARECOD","Área","","AreCod","char",0,"px",8,8,"left",null,[],15,"AreCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(16,29,"AREDES","Descrição","Selecionar","AreDes","char",0,"px",30,30,"left",null,[],16,"AreDes",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:"TEXTBLOCKARECOD",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:"vCARECOD",gxz:"ZV6cAreCod",gxold:"OV6cAreCod",gxvar:"AV6cAreCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAreCod=a},v2z:function(a){gx.O.ZV6cAreCod=a
},v2c:function(){gx.fn.setControlValue("vCARECOD",gx.O.AV6cAreCod,0)},c2v:function(){gx.O.AV6cAreCod=this.val()},val:function(){return gx.fn.getControlValue("vCARECOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKAREDES",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:"vCAREDES",gxz:"ZV7cAreDes",gxold:"OV7cAreDes",gxvar:"AV7cAreDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cAreDes=a
},v2z:function(a){gx.O.ZV7cAreDes=a},v2c:function(){gx.fn.setControlValue("vCAREDES",gx.O.AV7cAreDes,0)},c2v:function(){gx.O.AV7cAreDes=this.val()},val:function(){return gx.fn.getControlValue("vCAREDES")},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:8,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ARECOD",gxz:"Z15AreCod",gxold:"O15AreCod",gxvar:"A15AreCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A15AreCod=a
},v2z:function(a){gx.O.Z15AreCod=a},v2c:function(){gx.fn.setGridControlValue("ARECOD",gx.fn.currentGridRowImpl(26),gx.O.A15AreCod,0)},c2v:function(){gx.O.A15AreCod=this.val()},val:function(){return gx.fn.getGridControlValue("ARECOD",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:"AREDES",gxz:"Z16AreDes",gxold:"O16AreDes",gxvar:"A16AreDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A16AreDes=a
},v2z:function(a){gx.O.Z16AreDes=a},v2c:function(){gx.fn.setGridControlValue("AREDES",gx.fn.currentGridRowImpl(26),gx.O.A16AreDes,0)},c2v:function(){gx.O.A16AreDes=this.val()},val:function(){return gx.fn.getGridControlValue("AREDES",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cAreCod="";this.ZV6cAreCod="";this.OV6cAreCod="";this.AV7cAreDes="";this.ZV7cAreDes="";this.OV7cAreDes="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z15AreCod="";
this.O15AreCod="";this.Z16AreDes="";this.O16AreDes="";this.AV8pAreCod="";this.AV5LinkSelection="";this.A15AreCod="";this.A16AreDes="";this.ServerEvents=["e13aw2_client","e14aw1_client"];this.VarControlMap.AV8pAreCod={id:"vPARECOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.SetStandaloneVars()}gx0340.prototype=new gx.GxObject;gx.setParentObj(new gx0340());