/*
               File: HWbp08
        Description: Verifica E-mail e Senha
             Author: GeneXus C# Generator version 10_1_3-34783
       Generated on: 10/19/2011 11:11:13.14
       Program type: Callable routine
          Main DBMS: sqlserver
*/
gx.evt.autoSkip = false;
function hwbp08(CmpContext) {
   this.ServerClass =  "HWbp08" ;
   this.PackageName =  "GeneXus.Programs" ;
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.ReadonlyForm = true;
   this.hasEnterEvent = true;
   this.SetStandaloneVars=function()
   {
   };
   this.e164m1_client=function()
   {
      this.clearMessages();
      if ( ! (""==this.AV5Email) )
      {
         this.AV5Email = gx.text.lower( this.AV5Email) ;
      }
      this.refreshOutputs([{av:"AV5Email",fld:"_EMAIL"}]);
   };
   this.e124m2_client=function()
   {
      this.executeServerEvent("ENTER", true);
   };
   this.e134m2_client=function()
   {
      this.executeServerEvent("'CADASTRAR'", false);
   };
   this.e144m2_client=function()
   {
      this.executeServerEvent("'ESQUECI A SENHA'", true);
   };
   this.e174m2_client=function()
   {
      this.executeServerEvent("CANCEL", true);
   };
   this.GXValidFnc = [];
   this.GXCtrlIds=[24,29,34];
   this.GXLastCtrlId =34;
   this.GXValidFnc[24]={lvl:0,type:"char",len:70,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:this.e164m1_client,fld:"_EMAIL",gxz:"ZV5Email",gxold:"OV5Email",gxvar:"AV5Email",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV5Email=Value},v2z:function(Value){gx.O.ZV5Email=Value},v2c:function(){gx.fn.setControlValue("_EMAIL",gx.O.AV5Email,0)},c2v:function(){gx.O.AV5Email=this.val()},val:function(){return gx.fn.getControlValue("_EMAIL")}};
   this.GXValidFnc[29]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"_SENHA",gxz:"ZV6Senha",gxold:"OV6Senha",gxvar:"AV6Senha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV6Senha=Value},v2z:function(Value){gx.O.ZV6Senha=Value},v2c:function(){gx.fn.setControlValue("_SENHA",gx.O.AV6Senha,0)},c2v:function(){gx.O.AV6Senha=this.val()},val:function(){return gx.fn.getControlValue("_SENHA")}};
   this.GXValidFnc[34]={lvl:0,type:"int",len:11,dec:0,sign:false,pic:"ZZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"_CURCPF",gxz:"ZV11CurCpf",gxold:"OV11CurCpf",gxvar:"AV11CurCpf",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV11CurCpf=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV11CurCpf=gx.num.intval(Value)},v2c:function(){gx.fn.setControlValue("_CURCPF",gx.O.AV11CurCpf,0)},c2v:function(){gx.O.AV11CurCpf=this.val()},val:function(){return gx.fn.getIntegerValue("_CURCPF",'.')}};
   this.AV5Email = "" ;
   this.ZV5Email = "" ;
   this.OV5Email = "" ;
   this.AV6Senha = "" ;
   this.ZV6Senha = "" ;
   this.OV6Senha = "" ;
   this.AV11CurCpf = 0 ;
   this.ZV11CurCpf = 0 ;
   this.OV11CurCpf = 0 ;
   this.ServerEvents = ["e124m2_client" ,"e134m2_client" ,"e144m2_client" ,"e174m2_client"];
   this.EnterCtrl = ["BUTTON1"];
   this.SetStandaloneVars( );
}

