/*
               File: Videos
        Description: Videos
             Author: GeneXus C# Generator version 10_0_4-22353
       Generated on: 6/4/2009 12:32:28.51
       Program type: Callable routine
          Main DBMS: sqlserver
*/
gx.evt.autoSkip = false;
function videos(CmpContext) {
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.hasEnterEvent = false;
   this.addKeyListener("5", '"RFR"');
   this.autoRefresh = true;
   this.SetStandaloneVars=function()
   {
   }
   this.e126p2_client=function()
   {
      this.executeServerEvent("'DELANTE'", true, arguments[0]);
      this.refreshServerOutputs([{ctrl:"IMAGE2",prop:"Visible"}]);
   }
   this.e116p2_client=function()
   {
      this.executeServerEvent("'ATRAS'", true, arguments[0]);
      this.refreshServerOutputs([{ctrl:"IMAGE2",prop:"Visible"}]);
   }
   this.e156p2_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.e166p2_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.GXValidFnc = [];
   this.GXCtrlIds=[22,25,30];
   this.GXLastCtrlId =30;
   this.Grid1Container = new gxgrid(this, 2,"WbpLvl2",5,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"videos",[],true,1,true,true,4,false,false,false,"",170,"px",gx.getMessage( "GXM_NewRow"),true,false,false);
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","center","","#FDE355","","","","","","");
   this.Grid1Container.startTable("Table4",8,"0px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","#BDB76B","","");
   this.Grid1Container.startCell("","","","","","1px","1px","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","1px","1px","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","#BDB76B","","","","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.startTable("Table2",16,"165px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","top","#FDE355","","","70px","","","");
   this.Grid1Container.startTable("Table6",19,"0px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addBitmap("&Videoimagen","_VIDEOIMAGEN",22,60,"px",45,"px",null,"",1);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","center","","","","","","","","");
   this.Grid1Container.addSingleLineEdit("Articulofecha",25,"_ARTICULOFECHA","","","ArticuloFecha","date",8,"chr",8,8,"right",null,[],"Articulofecha","ArticuloFecha",true,0,false,false,0);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.addHtmlCode("</TBODY>");
   this.Grid1Container.endTable();
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","top","#FDE355","","","136px","","","");
   this.Grid1Container.startTable("Table3",27,"95px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","top","","","","","","","");
   this.Grid1Container.addMultipleLineEdit("Productodescripcionidioma",30,"_PRODUCTODESCRIPCIONIDIOMA","","ProductoDescripcionIdioma","char",10,"chr",3,"row","80",80,"left",null,true,false,1);
   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.startCell("","","","#BDB76B","","","","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","#BDB76B","","");
   this.Grid1Container.startCell("","","","","","1px","1px","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","1px","1px","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","2px","","","","");
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","6px","","","","");
   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.setGrid(this.Grid1Container);
   this.GXValidFnc[22]={lvl:2,type:"bits",len:4,dec:0,sign:false,pic:"XXXX",ro:1,grid:5,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_VIDEOIMAGEN",gxz:"ZV5VideoIm",gxold:"OV5VideoIm",gxvar:"AV5VideoIm",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.AV5VideoIm=Value},v2z:function(Value){_gxO.ZV5VideoIm=Value},v2c:function(){},c2v:function(){_gxO.AV5VideoIm=this.val()},val:function(){return GXgetGridControlValue("_VIDEOIMAGEN",gxCurrentGridRow(5))},nac:function(){return  false }};
   this.GXValidFnc[25]={lvl:2,type:"date",len:8,dec:0,sign:false,ro:1,grid:5,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_ARTICULOFECHA",gxz:"ZV7Articul",gxold:"OV7Articul",gxvar:"AV7Articul",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.AV7Articul=GXtoDatetimeValue(Value)},v2z:function(Value){_gxO.ZV7Articul=GXtoDatetimeValue(Value)},v2c:function(){GXsetGridControlValue("_ARTICULOFECHA",gxCurrentGridRow(5),_gxO.AV7Articul,0)},c2v:function(){_gxO.AV7Articul=this.val()},val:function(){return GXgetGridControlValue("_ARTICULOFECHA",gxCurrentGridRow(5))},nac:function(){return  false }};
   this.GXValidFnc[30]={lvl:2,type:"char",len:80,dec:0,sign:false,pic:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",ro:1,grid:5,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_PRODUCTODESCRIPCIONIDIOMA",gxz:"ZV6Product",gxold:"OV6Product",gxvar:"AV6Product",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){_gxO.AV6Product=Value},v2z:function(Value){_gxO.ZV6Product=Value},v2c:function(){GXsetGridControlValue("_PRODUCTODESCRIPCIONIDIOMA",gxCurrentGridRow(5),_gxO.AV6Product,1)},c2v:function(){_gxO.AV6Product=this.val()},val:function(){return GXgetGridControlValue("_PRODUCTODESCRIPCIONIDIOMA",gxCurrentGridRow(5))},nac:function(){return  false }};
   this.ZV5VideoIm = "";
   this.OV5VideoIm = "";
   this.ZV7Articul = gx.date.nullDate();
   this.OV7Articul = gx.date.nullDate();
   this.ZV6Product = "";
   this.OV6Product = "";
   this.AV7Articul = gx.date.nullDate();
   this.AV6Product = "";
   this.A222Idioma = 0;
   this.A305Videos = gx.date.nullDate();
   this.A303Videos = "";
   this.A302Videos = "";
   this.A312Videos = "";
   this.A300Videos = 0;
   this.VarControlMap["AV8Idiomas"] = {id:"_IDIOMASID",type:"int"};
   this.Grid1Container.addRefreshingVar({rfrVar:"AV8Idiomas"});
   this.SetStandaloneVars( );
   this.ServerClass =  "Videos" ;
}
