/*
               File: HLeadTab1
        Description: Leadearboard
             Author: GeneXus C# Generator version 10_1_2-32504
       Generated on: 8/27/2010 7:55:48.21
       Program type: Callable routine
          Main DBMS: sqlserver
*/
gx.evt.autoSkip = false;
function hleadtab1(CmpContext) {
   this.ServerClass =  "HLeadTab1" ;
   this.PackageName =  "GeneXus.Programs" ;
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.ReadonlyForm = true;
   this.setAjaxSecurity("Medium");
   this.hasEnterEvent = false;
   this.addKeyListener("5", '"RFR"');
   this.SetStandaloneVars=function()
   {
      this.A511TourneyStatus=gx.fn.getControlValue("TOURNEYSTATUS") ;
      this.A513TourneyRegistrationType=gx.fn.getControlValue("TOURNEYREGISTRATIONTYPE") ;
      this.A551TourneyRoundType=gx.fn.getControlValue("TOURNEYROUNDTYPE") ;
   }
   this.e16761_client=function()
   {
      this.clearMessages();
      this.refreshOutputs([]);
   }
   this.s142_client=function()
   {
   }
   this.s152_client=function()
   {
   }
   this.e11762_client=function()
   {
      this.executeServerEvent("PREVIOUS.CLICK", true);
   }
   this.e12762_client=function()
   {
      this.executeServerEvent("NEXT.CLICK", true);
   }
   this.e17762_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
   }
   this.e18762_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
   }
   this.GXValidFnc = [];
   this.GXCtrlIds=[16,31,32,33,34,35,36,37,38,39,40,41,47,48,49];
   this.GXLastCtrlId =49;
   this.FsgtournamentContainer = new gx.grid.grid(this, 2,"WbpLvl2",30,"Fsgtournament","Fsgtournament","FsgtournamentContainer",this.CmpContext,this.IsMasterPage,"hleadtab1",[],false,1,false,true,0,false,false,false,"",0,"px",gx.getMessage( "GXM_NewRow"),true,false,false,null,null,false);
   this.FsgtournamentContainer.addSingleLineEdit("Dates",31,"_DATES",gx.getMessage( "Date"),"","Dates","char",110,"px",22,22,"left",null,[],"Dates","Dates",true,0,false,false);
   this.FsgtournamentContainer.addBitmap("&Imagetype","_IMAGETYPE",32,41,"px",17,"px",null,"","");
   this.FsgtournamentContainer.addBitmap("&Imagertype","_IMAGERTYPE",33,41,"px",17,"px",null,"","");
   this.FsgtournamentContainer.addBitmap("&Imagestatus","_IMAGESTATUS",34,41,"px",17,"px",null,"","");
   this.FsgtournamentContainer.addSingleLineEdit("Tourney",35,"_TOURNEY",gx.getMessage( "Tournament"),"","Tourney","char",300,"px",100,100,"left",null,[],"Tourney","Tourney",true,0,false,false);
   this.FsgtournamentContainer.addSingleLineEdit("Tourneystatusdsc",36,"_TOURNEYSTATUSDSC",gx.getMessage( "Status"),"","TourneyStatusDsc","char",110,"px",20,20,"left",null,[],"Tourneystatusdsc","TourneyStatusDsc",false,0,false,false);
   this.FsgtournamentContainer.addSingleLineEdit("Champion",37,"_CHAMPION",gx.getMessage( "Leaderboard"),"","Champion","char",140,"px",100,100,"left",null,[],"Champion","Champion",true,0,false,false);
   this.FsgtournamentContainer.addSingleLineEdit("Play",38,"_PLAY","","","Play","char",50,"px",100,100,"left",null,[],"Play","Play",true,0,false,false);
   this.FsgtournamentContainer.addSingleLineEdit("Status",39,"_STATUS",gx.getMessage( "My Status"),"","Status","char",120,"px",100,100,"left",null,[],"Status","Status",true,0,false,false);
   this.FsgtournamentContainer.addSingleLineEdit("Tourid",40,"_TOURID",gx.getMessage( "Tour Id"),"","TourId","int",80,"px",10,9,"right",null,[],"Tourid","TourId",false,0,false,false);
   this.FsgtournamentContainer.addSingleLineEdit("Tourexist",41,"_TOUREXIST",gx.getMessage( "Tour Exist"),"","TourExist","char",57,"px",1,1,"left",null,[],"Tourexist","TourExist",false,0,false,false);
   this.setGrid(this.FsgtournamentContainer);
   this.GXValidFnc[16]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"_SYSTEMID",gxz:"ZV61SystemId",gxold:"OV61SystemId",gxvar:"AV61SystemId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(Value){gx.O.AV61SystemId=Value},v2z:function(Value){gx.O.ZV61SystemId=Value},v2c:function(){gx.fn.setComboBoxValue("_SYSTEMID",gx.O.AV61SystemId)},c2v:function(){gx.O.AV61SystemId=this.val()},val:function(){return gx.fn.getControlValue("_SYSTEMID")}};
   this.GXValidFnc[31]={lvl:2,type:"char",len:22,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_DATES",gxz:"ZV15Dates",gxold:"OV15Dates",gxvar:"AV15Dates",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV15Dates=Value},v2z:function(Value){gx.O.ZV15Dates=Value},v2c:function(){gx.fn.setGridControlValue("_DATES",gx.fn.currentGridRowImpl(30),gx.O.AV15Dates,0)},c2v:function(){gx.O.AV15Dates=this.val()},val:function(){return gx.fn.getGridControlValue("_DATES",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[32]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_IMAGETYPE",gxz:"ZV46ImageType",gxold:"OV46ImageType",gxvar:"AV46ImageType",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV46ImageType=Value},v2z:function(Value){gx.O.ZV46ImageType=Value},v2c:function(){},c2v:function(){gx.O.AV46ImageType=this.val()},val:function(){return gx.fn.getGridControlValue("_IMAGETYPE",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[33]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_IMAGERTYPE",gxz:"ZV47ImageRType",gxold:"OV47ImageRType",gxvar:"AV47ImageRType",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV47ImageRType=Value},v2z:function(Value){gx.O.ZV47ImageRType=Value},v2c:function(){},c2v:function(){gx.O.AV47ImageRType=this.val()},val:function(){return gx.fn.getGridControlValue("_IMAGERTYPE",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[34]={lvl:2,type:"bits",len:5,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_IMAGESTATUS",gxz:"ZV45ImageStatus",gxold:"OV45ImageStatus",gxvar:"AV45ImageStatus",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV45ImageStatus=Value},v2z:function(Value){gx.O.ZV45ImageStatus=Value},v2c:function(){},c2v:function(){gx.O.AV45ImageStatus=this.val()},val:function(){return gx.fn.getGridControlValue("_IMAGESTATUS",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[35]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_TOURNEY",gxz:"ZV16Tourney",gxold:"OV16Tourney",gxvar:"AV16Tourney",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV16Tourney=Value},v2z:function(Value){gx.O.ZV16Tourney=Value},v2c:function(){gx.fn.setGridControlValue("_TOURNEY",gx.fn.currentGridRowImpl(30),gx.O.AV16Tourney,1)},c2v:function(){gx.O.AV16Tourney=this.val()},val:function(){return gx.fn.getGridControlValue("_TOURNEY",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[36]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_TOURNEYSTATUSDSC",gxz:"ZV44TourneyStatusDsc",gxold:"OV44TourneyStatusDsc",gxvar:"AV44TourneyStatusDsc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV44TourneyStatusDsc=Value},v2z:function(Value){gx.O.ZV44TourneyStatusDsc=Value},v2c:function(){gx.fn.setGridControlValue("_TOURNEYSTATUSDSC",gx.fn.currentGridRowImpl(30),gx.O.AV44TourneyStatusDsc,0)},c2v:function(){gx.O.AV44TourneyStatusDsc=this.val()},val:function(){return gx.fn.getGridControlValue("_TOURNEYSTATUSDSC",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[37]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_CHAMPION",gxz:"ZV17Champion",gxold:"OV17Champion",gxvar:"AV17Champion",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV17Champion=Value},v2z:function(Value){gx.O.ZV17Champion=Value},v2c:function(){gx.fn.setGridControlValue("_CHAMPION",gx.fn.currentGridRowImpl(30),gx.O.AV17Champion,1)},c2v:function(){gx.O.AV17Champion=this.val()},val:function(){return gx.fn.getGridControlValue("_CHAMPION",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[38]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_PLAY",gxz:"ZV60Play",gxold:"OV60Play",gxvar:"AV60Play",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV60Play=Value},v2z:function(Value){gx.O.ZV60Play=Value},v2c:function(){gx.fn.setGridControlValue("_PLAY",gx.fn.currentGridRowImpl(30),gx.O.AV60Play,1)},c2v:function(){gx.O.AV60Play=this.val()},val:function(){return gx.fn.getGridControlValue("_PLAY",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[39]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_STATUS",gxz:"ZV18Status",gxold:"OV18Status",gxvar:"AV18Status",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV18Status=Value},v2z:function(Value){gx.O.ZV18Status=Value},v2c:function(){gx.fn.setGridControlValue("_STATUS",gx.fn.currentGridRowImpl(30),gx.O.AV18Status,1)},c2v:function(){gx.O.AV18Status=this.val()},val:function(){return gx.fn.getGridControlValue("_STATUS",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[40]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,rgrid:[],fld:"_TOURID",gxz:"ZV52TourId",gxold:"OV52TourId",gxvar:"AV52TourId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV52TourId=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV52TourId=gx.num.intval(Value)},v2c:function(){gx.fn.setGridControlValue("_TOURID",gx.fn.currentGridRowImpl(30),gx.O.AV52TourId,0)},c2v:function(){gx.O.AV52TourId=this.val()},val:function(){return gx.fn.getGridIntegerValue("_TOURID",gx.fn.currentGridRowImpl(30),gx.thousandSeparator)},nac:function(){return  false }};
   this.GXValidFnc[41]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:30,gxgrid:this.FsgtournamentContainer,fnc:null,isvalid:null,fld:"_TOUREXIST",gxz:"ZV53TourExist",gxold:"OV53TourExist",gxvar:"AV53TourExist",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV53TourExist=Value},v2z:function(Value){gx.O.ZV53TourExist=Value},v2c:function(){gx.fn.setGridControlValue("_TOUREXIST",gx.fn.currentGridRowImpl(30),gx.O.AV53TourExist,0)},c2v:function(){gx.O.AV53TourExist=this.val()},val:function(){return gx.fn.getGridControlValue("_TOUREXIST",gx.fn.currentGridRowImpl(30))},nac:function(){return  false }};
   this.GXValidFnc[47]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"_CURRENTPAGE",gxz:"ZV29CurrentPage",gxold:"OV29CurrentPage",gxvar:"AV29CurrentPage",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV29CurrentPage=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV29CurrentPage=gx.num.intval(Value)},v2c:function(){gx.fn.setControlValue("_CURRENTPAGE",gx.O.AV29CurrentPage,0)},c2v:function(){gx.O.AV29CurrentPage=this.val()},val:function(){return gx.fn.getIntegerValue("_CURRENTPAGE",gx.thousandSeparator)}};
   this.GXValidFnc[48]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"_CURRENTPAGE1",gxz:"ZV36CurrentPage1",gxold:"OV36CurrentPage1",gxvar:"AV36CurrentPage1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV36CurrentPage1=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV36CurrentPage1=gx.num.intval(Value)},v2c:function(){gx.fn.setControlValue("_CURRENTPAGE1",gx.O.AV36CurrentPage1,0)},c2v:function(){gx.O.AV36CurrentPage1=this.val()},val:function(){return gx.fn.getIntegerValue("_CURRENTPAGE1",gx.thousandSeparator)}};
   this.GXValidFnc[49]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"_CURRENTPAGE2",gxz:"ZV37Currentpage2",gxold:"OV37Currentpage2",gxvar:"AV37Currentpage2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV37Currentpage2=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV37Currentpage2=gx.num.intval(Value)},v2c:function(){gx.fn.setControlValue("_CURRENTPAGE2",gx.O.AV37Currentpage2,0)},c2v:function(){gx.O.AV37Currentpage2=this.val()},val:function(){return gx.fn.getIntegerValue("_CURRENTPAGE2",gx.thousandSeparator)}};
   this.AV61SystemId = "";
   this.ZV61SystemId = "";
   this.OV61SystemId = "";
   this.ZV15Dates = "";
   this.OV15Dates = "";
   this.ZV46ImageType = "";
   this.OV46ImageType = "";
   this.ZV47ImageRType = "";
   this.OV47ImageRType = "";
   this.ZV45ImageStatus = "";
   this.OV45ImageStatus = "";
   this.ZV16Tourney = "";
   this.OV16Tourney = "";
   this.ZV44TourneyStatusDsc = "";
   this.OV44TourneyStatusDsc = "";
   this.ZV17Champion = "";
   this.OV17Champion = "";
   this.ZV60Play = "";
   this.OV60Play = "";
   this.ZV18Status = "";
   this.OV18Status = "";
   this.ZV52TourId = 0;
   this.OV52TourId = 0;
   this.ZV53TourExist = "";
   this.OV53TourExist = "";
   this.AV29CurrentPage = 0;
   this.ZV29CurrentPage = 0;
   this.OV29CurrentPage = 0;
   this.AV36CurrentPage1 = 0;
   this.ZV36CurrentPage1 = 0;
   this.OV36CurrentPage1 = 0;
   this.AV37Currentpage2 = 0;
   this.ZV37Currentpage2 = 0;
   this.OV37Currentpage2 = 0;
   this.AV15Dates = "";
   this.AV46ImageType = "";
   this.AV47ImageRType = "";
   this.AV45ImageStatus = "";
   this.AV16Tourney = "";
   this.AV44TourneyStatusDsc = "";
   this.AV17Champion = "";
   this.AV60Play = "";
   this.AV18Status = "";
   this.AV52TourId = 0;
   this.AV53TourExist = "";
   this.A551TourneyRoundType = "";
   this.A513TourneyRegistrationType = "";
   this.A532TourneyOrgLocId = 0;
   this.A511TourneyStatus = "";
   this.A18TourneyId = 0;
   this.A509TourneyDateEnd = gx.date.nullDate();
   this.A106TourneyName = "";
   this.A533TourneyOrganizerName = "";
   this.A508TourneyDateStart = gx.date.nullDate();
   this.A552TourneySystemId = "";
   this.A512TourneyStatusDsc = "";
   this.A492TourneyType = "";
   this.A493TourneyTypeDsc = "";
   this.A463SystemOTEnabled = "";
   this.A462SystemDescShort = "";
   this.A65SystemId = "";
   this.ServerEvents = ["e11762_client" ,"e12762_client" ,"e17762_client" ,"e18762_client"];
   this.VarControlMap["A511TourneyStatus"] = {id:"TOURNEYSTATUS",grid:0,type:"char"};
   this.VarControlMap["A513TourneyRegistrationType"] = {id:"TOURNEYREGISTRATIONTYPE",grid:0,type:"char"};
   this.VarControlMap["A551TourneyRoundType"] = {id:"TOURNEYROUNDTYPE",grid:0,type:"char"};
   this.VarControlMap["A463SystemOTEnabled"] = {id:"SYSTEMOTENABLED",grid:0,type:"char"};
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"AV18Status", rfrProp:"Visible"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A106TourneyName"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"AV51TourneyStatus"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"AV49TourneyRegistrationType"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"AV50TourneyTypeDsc"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"AV48TourneyType"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A513TourneyRegistrationType"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A493TourneyTypeDsc"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A492TourneyType"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A532TourneyOrgLocId"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A533TourneyOrganizerName"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A512TourneyStatusDsc"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A509TourneyDateEnd"});
   this.FsgtournamentContainer.addRefreshingVar(this.GXValidFnc[16]);
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A18TourneyId"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A508TourneyDateStart"});
   this.FsgtournamentContainer.addRefreshingVar({rfrVar:"A511TourneyStatus"});
   this.SetStandaloneVars( );
}

