gx.evt.autoSkip=false;function gx0290(){this.ServerClass="Gx0290";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pSetCod=gx.fn.getIntegerValue("vPSETCOD",".")};this.e139s2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149s1_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,"gx0290",[],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(779,28,"SETCOD","Unidade depositária (Usuários da biblioteca)","","SetCod","int",0,"px",6,6,"right",null,[],779,"SetCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(780,29,"SETDES","Nome","Selecionar","SetDes","char",0,"px",30,30,"left",null,[],780,"SetDes",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:"TEXTBLOCKSETCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCSETCOD",gxz:"ZV6cSetCod",gxold:"OV6cSetCod",gxvar:"AV6cSetCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cSetCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cSetCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSETCOD",gx.O.AV6cSetCod,0)},c2v:function(){gx.O.AV6cSetCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCSETCOD",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKSETDES",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:"vCSETDES",gxz:"ZV7cSetDes",gxold:"OV7cSetDes",gxvar:"AV7cSetDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cSetDes=a
},v2z:function(a){gx.O.ZV7cSetDes=a},v2c:function(){gx.fn.setControlValue("vCSETDES",gx.O.AV7cSetDes,0)},c2v:function(){gx.O.AV7cSetDes=this.val()},val:function(){return gx.fn.getControlValue("vCSETDES")},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:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SETCOD",gxz:"Z779SetCod",gxold:"O779SetCod",gxvar:"A779SetCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A779SetCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z779SetCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SETCOD",gx.fn.currentGridRowImpl(26),gx.O.A779SetCod,0)},c2v:function(){gx.O.A779SetCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("SETCOD",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:"SETDES",gxz:"Z780SetDes",gxold:"O780SetDes",gxvar:"A780SetDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A780SetDes=a
},v2z:function(a){gx.O.Z780SetDes=a},v2c:function(){gx.fn.setGridControlValue("SETDES",gx.fn.currentGridRowImpl(26),gx.O.A780SetDes,0)},c2v:function(){gx.O.A780SetDes=this.val()},val:function(){return gx.fn.getGridControlValue("SETDES",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={fld:"TABLE4",grid:0};this.AV6cSetCod=0;this.ZV6cSetCod=0;this.OV6cSetCod=0;this.AV7cSetDes="";this.ZV7cSetDes="";this.OV7cSetDes="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z779SetCod=0;
this.O779SetCod=0;this.Z780SetDes="";this.O780SetDes="";this.AV8pSetCod=0;this.AV5LinkSelection="";this.A779SetCod=0;this.A780SetDes="";this.ServerEvents=["e139s2_client","e149s1_client"];this.VarControlMap.AV8pSetCod={id:"vPSETCOD",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.SetStandaloneVars()}gx0290.prototype=new gx.GxObject;gx.setParentObj(new gx0290());