gx.evt.autoSkip=false;function gx02q0(){this.ServerClass="Gx02Q0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pDirCod=gx.fn.getControlValue("vPDIRCOD")};this.e13bv2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14bv1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,38];this.GXLastCtrlId=38;
this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02q0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(205,33,"DIRCOD","Direito","","DirCod","char",0,"px",7,7,"left",null,[],205,"DirCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(206,34,"DIRDES","Descrição","Selecionar","DirDes","char",0,"px",40,40,"left",null,[],206,"DirDes",true,0,false,false);
this.Grid1Container.addComboBox(207,35,"DIRINDSEGU","Tem Seguranca","DirIndSegu","char",null,0,true,false,0,"px");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:"TEXTBLOCKDIRCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:7,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDIRCOD",gxz:"ZV6cDirCod",gxold:"OV6cDirCod",gxvar:"AV6cDirCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cDirCod=a
},v2z:function(a){gx.O.ZV6cDirCod=a},v2c:function(){gx.fn.setControlValue("vCDIRCOD",gx.O.AV6cDirCod,0)},c2v:function(){gx.O.AV6cDirCod=this.val()},val:function(){return gx.fn.getControlValue("vCDIRCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDIRDES",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDIRDES",gxz:"ZV7cDirDes",gxold:"OV7cDirDes",gxvar:"AV7cDirDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDirDes=a
},v2z:function(a){gx.O.ZV7cDirDes=a},v2c:function(){gx.fn.setControlValue("vCDIRDES",gx.O.AV7cDirDes,0)},c2v:function(){gx.O.AV7cDirDes=this.val()},val:function(){return gx.fn.getControlValue("vCDIRDES")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKDIRINDSEGURANCA",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCDIRINDSEGURANCA",gxz:"ZV8cDirIndSeguranca",gxold:"OV8cDirIndSeguranca",gxvar:"AV8cDirIndSeguranca",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8cDirIndSeguranca=a
},v2z:function(a){gx.O.ZV8cDirIndSeguranca=a},v2c:function(){gx.fn.setComboBoxValue("vCDIRINDSEGURANCA",gx.O.AV8cDirIndSeguranca)},c2v:function(){gx.O.AV8cDirIndSeguranca=this.val()},val:function(){return gx.fn.getControlValue("vCDIRINDSEGURANCA")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:7,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DIRCOD",gxz:"Z205DirCod",gxold:"O205DirCod",gxvar:"A205DirCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A205DirCod=a
},v2z:function(a){gx.O.Z205DirCod=a},v2c:function(){gx.fn.setGridControlValue("DIRCOD",gx.fn.currentGridRowImpl(31),gx.O.A205DirCod,0)},c2v:function(){gx.O.A205DirCod=this.val()},val:function(){return gx.fn.getGridControlValue("DIRCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DIRDES",gxz:"Z206DirDes",gxold:"O206DirDes",gxvar:"A206DirDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A206DirDes=a
},v2z:function(a){gx.O.Z206DirDes=a},v2c:function(){gx.fn.setGridControlValue("DIRDES",gx.fn.currentGridRowImpl(31),gx.O.A206DirDes,0)},c2v:function(){gx.O.A206DirDes=this.val()},val:function(){return gx.fn.getGridControlValue("DIRDES",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DIRINDSEGU",gxz:"Z207DirIndSegu",gxold:"O207DirIndSegu",gxvar:"A207DirIndSegu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A207DirIndSegu=a
},v2z:function(a){gx.O.Z207DirIndSegu=a},v2c:function(){gx.fn.setGridComboBoxValue("DIRINDSEGU",gx.fn.currentGridRowImpl(31),gx.O.A207DirIndSegu)},c2v:function(){gx.O.A207DirIndSegu=this.val()},val:function(){return gx.fn.getGridControlValue("DIRINDSEGU",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cDirCod="";this.ZV6cDirCod="";this.OV6cDirCod="";this.AV7cDirDes="";this.ZV7cDirDes="";this.OV7cDirDes="";this.AV8cDirIndSeguranca="";this.ZV8cDirIndSeguranca="";
this.OV8cDirIndSeguranca="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z205DirCod="";this.O205DirCod="";this.Z206DirDes="";this.O206DirDes="";this.Z207DirIndSegu="";this.O207DirIndSegu="";this.AV9pDirCod="";this.AV5LinkSelection="";this.A205DirCod="";this.A206DirDes="";this.A207DirIndSegu="";this.ServerEvents=["e13bv2_client","e14bv1_client"];this.VarControlMap.AV9pDirCod={id:"vPDIRCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx02q0.prototype=new gx.GxObject;gx.setParentObj(new gx02q0());