/*
               File: HNews
        Description: News
             Author: GeneXus C# Generator version 10_1_2-32504
       Generated on: 8/27/2010 7:47:12.4
       Program type: Callable routine
          Main DBMS: sqlserver
*/
gx.evt.autoSkip = false;
function hnews() {
   this.ServerClass =  "HNews" ;
   this.PackageName =  "GeneXus.Programs" ;
   this.setObjectType("web");
   this.setAjaxSecurity("Medium");
   this.hasEnterEvent = false;
   this.addKeyListener("5", '"RFR"');
   this.SetStandaloneVars=function()
   {
   }
   this.e13a72_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
   }
   this.e14a72_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
   }
   this.GXValidFnc = [];
   this.GXCtrlIds=[46,47,49,51,53];
   this.GXLastCtrlId =53;
   this.Grid1Container = new gx.grid.grid(this, 2,"WbpLvl2",40,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hnews",[],true,1,true,true,0,false,false,false,"",0,"px",gx.getMessage( "GXM_NewRow"),false,false,false,null,null,false);
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.startTable("Table1",43,"0px");
   this.Grid1Container.addHtmlCode("<TBODY>");
   this.Grid1Container.startRow("","","","","","");
   this.Grid1Container.startCell("","","","","","","10%","","","");
   this.Grid1Container.addSingleLineEdit(299,46,"NEWID","","","NewId","int",9,"chr",9,9,"right",null,[],299,"NewId",true,0,false,false);
   this.Grid1Container.addSingleLineEdit(302,47,"NEWDATE","","","NewDate","date",10,"chr",10,10,"right",null,[],302,"NewDate",true,0,false,false);
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","top","","","","20%","","","");
   this.Grid1Container.addSingleLineEdit("Date",49,"_DATE","","","Date","char",22,"chr",22,22,"left",null,[],"Date","Date",true,0,false,false);
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","top","","","","10%","","","");
   this.Grid1Container.addMultipleLineEdit("Html",51,"_HTML","","Html","vchar",80,"chr",10,"row","8000",8000,"left",null,true,false,1);
   this.Grid1Container.endCell();
   this.Grid1Container.startCell("","","","","","","","","","");
   this.Grid1Container.addMultipleLineEdit(301,53,"NEWDSCLONG","","NewDscLong","vchar",379,"px",56,"px","2000",2000,"left",null,true,false,1);
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.Grid1Container.addHtmlCode("</TBODY>");
   this.Grid1Container.endTable();
   this.Grid1Container.addHtmlCode("<BR/>");
   this.Grid1Container.addHtmlCode("&nbsp; ");
   this.Grid1Container.endCell();
   this.Grid1Container.endRow();
   this.setGrid(this.Grid1Container);
   this.GXValidFnc[46]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"NEWID",gxz:"Z299NewId",gxold:"O299NewId",gxvar:"A299NewId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.A299NewId=gx.num.intval(Value)},v2z:function(Value){gx.O.Z299NewId=gx.num.intval(Value)},v2c:function(){gx.fn.setGridControlValue("NEWID",gx.fn.currentGridRowImpl(40),gx.O.A299NewId,0)},c2v:function(){gx.O.A299NewId=this.val()},val:function(){return gx.fn.getGridIntegerValue("NEWID",gx.fn.currentGridRowImpl(40),gx.thousandSeparator)},nac:function(){return  false }};
   this.GXValidFnc[47]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"NEWDATE",gxz:"Z302NewDate",gxold:"O302NewDate",gxvar:"A302NewDate",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.A302NewDate=gx.fn.toDatetimeValue(Value)},v2z:function(Value){gx.O.Z302NewDate=gx.fn.toDatetimeValue(Value)},v2c:function(){gx.fn.setGridControlValue("NEWDATE",gx.fn.currentGridRowImpl(40),gx.O.A302NewDate,0)},c2v:function(){gx.O.A302NewDate=this.val()},val:function(){return gx.fn.getGridControlValue("NEWDATE",gx.fn.currentGridRowImpl(40))},nac:function(){return  false }};
   this.GXValidFnc[49]={lvl:2,type:"char",len:22,dec:0,sign:false,ro:1,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_DATE",gxz:"ZV6Date",gxold:"OV6Date",gxvar:"AV6Date",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV6Date=Value},v2z:function(Value){gx.O.ZV6Date=Value},v2c:function(){gx.fn.setGridControlValue("_DATE",gx.fn.currentGridRowImpl(40),gx.O.AV6Date,0)},c2v:function(){gx.O.AV6Date=this.val()},val:function(){return gx.fn.getGridControlValue("_DATE",gx.fn.currentGridRowImpl(40))},nac:function(){return  false }};
   this.GXValidFnc[51]={lvl:2,type:"vchar",len:8000,dec:0,sign:false,ro:1,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"_HTML",gxz:"ZV29Html",gxold:"OV29Html",gxvar:"AV29Html",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV29Html=Value},v2z:function(Value){gx.O.ZV29Html=Value},v2c:function(){gx.fn.setGridControlValue("_HTML",gx.fn.currentGridRowImpl(40),gx.O.AV29Html,1)},c2v:function(){gx.O.AV29Html=this.val()},val:function(){return gx.fn.getGridControlValue("_HTML",gx.fn.currentGridRowImpl(40))},nac:function(){return  false }};
   this.GXValidFnc[53]={lvl:2,type:"vchar",len:2000,dec:0,sign:false,ro:1,grid:40,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"NEWDSCLONG",gxz:"Z301NewDscLong",gxold:"O301NewDscLong",gxvar:"A301NewDscLong",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.A301NewDscLong=Value},v2z:function(Value){gx.O.Z301NewDscLong=Value},v2c:function(){gx.fn.setGridControlValue("NEWDSCLONG",gx.fn.currentGridRowImpl(40),gx.O.A301NewDscLong,1)},c2v:function(){gx.O.A301NewDscLong=this.val()},val:function(){return gx.fn.getGridControlValue("NEWDSCLONG",gx.fn.currentGridRowImpl(40))},nac:function(){return  false }};
   this.Z299NewId = 0;
   this.O299NewId = 0;
   this.Z302NewDate = gx.date.nullDate();
   this.O302NewDate = gx.date.nullDate();
   this.ZV6Date = "";
   this.OV6Date = "";
   this.ZV29Html = "";
   this.OV29Html = "";
   this.Z301NewDscLong = "";
   this.O301NewDscLong = "";
   this.A305NewLocationId = 0;
   this.A304NewExpDate = gx.date.nullDate();
   this.A299NewId = 0;
   this.A302NewDate = gx.date.nullDate();
   this.AV6Date = "";
   this.AV29Html = "";
   this.A301NewDscLong = "";
   this.ServerEvents = ["e13a72_client" ,"e14a72_client"];
   this.Grid1Container.addRefreshingVar({rfrVar:"A302NewDate", rfrProp:"Visible"});
   this.Grid1Container.addRefreshingVar({rfrVar:"A299NewId", rfrProp:"Visible"});
   this.SetStandaloneVars( );
}
hnews.prototype = new gx.GxObject;
gx.setParentObj(new hnews());

