/*
               File: VerHemeroteca
        Description: Ver Hemeroteca
             Author: GeneXus C# Generator version 10_0_4-22353
       Generated on: 6/17/2009 12:37:47.40
       Program type: Callable routine
          Main DBMS: sqlserver
*/
gx.evt.autoSkip = false;
function verhemeroteca(CmpContext) {
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.hasEnterEvent = false;
   this.addKeyListener("5", '"RFR"');
   this.autoRefresh = true;
   this.SetStandaloneVars=function()
   {
   }
   this.e13672_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.e14672_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.GXValidFnc = [];
   this.GXCtrlIds=[17,19,25,29];
   this.GXLastCtrlId =29;
   this.Grid1Container = new gxgrid(this, 2,"WbpLvl2",8,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"verhemeroteca",[],true,1,true,true,2,true,false,false,"",0,"px",gx.getMessage( "GXM_NewRow"),true,false,false);
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.startTable("Table3",11,"0px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.startTable("Table2",14,"250px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","170px","","","");
   this.Grid1Container.addMultipleLineEdit("Hemerotecatitulo",17,"_HEMEROTECATITULO","","HemerotecaTitulo","char",40,"chr",4,"row","120",120,"left",null,true,false,1);
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","center","","","","","","","","");
   this.Grid1Container.addBitmap("&Imagen","_IMAGEN",19,60,"px",45,"px",null,"",1);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","6px","","","","");
   this.Grid1Container.startTable("Table6",22,"0px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addBitmap("&Anadir","_ANADIR",25,5,"chr",1,"row",null,"",-1);
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addHtmlCode("&nbsp;");
   this.Grid1Container.addTextBlock('COMENTARIOMAPA',null);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.addHtmlCode("</TBODY>");
   this.Grid1Container.endTable();
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","center","","","","","","","","");
   this.Grid1Container.addSingleLineEdit("Hemerotecafechanoticia",29,"_HEMEROTECAFECHANOTICIA","","","HemerotecaFechaNoticia","date",8,"chr",8,8,"right",null,[],"Hemerotecafechanoticia","HemerotecaFechaNoticia",true,0,false,false,0);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","#404040","","");
   this.Grid1Container.startCell("","","","","","1px","","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.addHtmlCode("</TBODY>");
   this.Grid1Container.endTable();
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.addHtmlCode("</TBODY>");
   this.Grid1Container.endTable();
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.setGrid(this.Grid1Container);
   this.GXValidFnc[17]={lvl:2,type:"char",len:120,dec:0,sign:false,pic:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",ro:1,grid:8,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_HEMEROTECATITULO",gxz:"ZV8Hemerot",gxold:"OV8Hemerot",gxvar:"AV8Hemerot",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.AV8Hemerot=Value},v2z:function(Value){_gxO.ZV8Hemerot=Value},v2c:function(){GXsetGridControlValue("_HEMEROTECATITULO",gxCurrentGridRow(8),_gxO.AV8Hemerot,1)},c2v:function(){_gxO.AV8Hemerot=this.val()},val:function(){return GXgetGridControlValue("_HEMEROTECATITULO",gxCurrentGridRow(8))},nac:function(){return  false }};
   this.GXValidFnc[19]={lvl:2,type:"bits",len:4,dec:0,sign:false,pic:"XXXX",ro:1,grid:8,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_IMAGEN",gxz:"ZV5imagen",gxold:"OV5imagen",gxvar:"AV5imagen",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.AV5imagen=Value},v2z:function(Value){_gxO.ZV5imagen=Value},v2c:function(){},c2v:function(){_gxO.AV5imagen=this.val()},val:function(){return GXgetGridControlValue("_IMAGEN",gxCurrentGridRow(8))},nac:function(){return  false }};
   this.GXValidFnc[25]={lvl:2,type:"bits",len:4,dec:0,sign:false,pic:"XXXX",ro:1,grid:8,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_ANADIR",gxz:"ZV7anadir",gxold:"OV7anadir",gxvar:"AV7anadir",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.AV7anadir=Value},v2z:function(Value){_gxO.ZV7anadir=Value},v2c:function(){},c2v:function(){_gxO.AV7anadir=this.val()},val:function(){return GXgetGridControlValue("_ANADIR",gxCurrentGridRow(8))},nac:function(){return  false }};
   this.GXValidFnc[29]={lvl:2,type:"date",len:8,dec:0,sign:false,ro:1,grid:8,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_HEMEROTECAFECHANOTICIA",gxz:"ZV9Hemerot",gxold:"OV9Hemerot",gxvar:"AV9Hemerot",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.AV9Hemerot=GXtoDatetimeValue(Value)},v2z:function(Value){_gxO.ZV9Hemerot=GXtoDatetimeValue(Value)},v2c:function(){GXsetGridControlValue("_HEMEROTECAFECHANOTICIA",gxCurrentGridRow(8),_gxO.AV9Hemerot,0)},c2v:function(){_gxO.AV9Hemerot=this.val()},val:function(){return GXgetGridControlValue("_HEMEROTECAFECHANOTICIA",gxCurrentGridRow(8))},nac:function(){return  false }};
   this.ZV8Hemerot = "";
   this.OV8Hemerot = "";
   this.ZV5imagen = "";
   this.OV5imagen = "";
   this.ZV7anadir = "";
   this.OV7anadir = "";
   this.ZV9Hemerot = gx.date.nullDate();
   this.OV9Hemerot = gx.date.nullDate();
   this.AV11Idioma = 0;
   this.AV8Hemerot = "";
   this.AV9Hemerot = gx.date.nullDate();
   this.A222Idioma = 0;
   this.A282Hemero = 0;
   this.A259Hemero = "";
   this.A254Hemero = 0;
   this.A264Hemero = gx.date.nullDate();
   this.A275Hemero = "";
   this.A274Hemero = "";
   this.A278Hemero = "";
   this.A262Hemero = {};
   this.VarControlMap["AV11Idioma"] = {id:"_IDIOMASID",type:"int"};
   this.Grid1Container.addRefreshingVar({rfrVar:"AV11Idioma"});
   this.SetStandaloneVars( );
   this.ServerClass =  "VerHemeroteca" ;
}
