Re: Validate vs. Lost Focus



Take a look at your Lost_Focus routines. If they need to be able to block
the focus change, then switch them to Validate. Otherwise, leave them as
is. Validate isn't an event in the underlying Windows API, so it takes
significantly more system resources to implement.

Mike Ober.

"nrford" <nrfordmsvb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%239KnuulhFHA.1052@xxxxxxxxxxxxxxxxxxxxxxx
> In the past I've had problems using Lost Focus which were resolved
> by using Validate instead.
>
> I'm reworking an old program and am thinking of just changing ALL
> the Lost Focus routines to Validate. Can Lost Focus do anything that
> Validate can't do that might mess up the code if I make such a change?
>
> TIA,
>
> Nelson
>
>



.



Relevant Pages

  • Re: Validate vs. Lost Focus
    ... I'm glad to know about the API problem. ... > the focus change, ... Validate isn't an event in the underlying Windows API, ... >> the Lost Focus routines to Validate. ...
    (microsoft.public.vb.general.discussion)
  • [RFC 2.6.10 18/22] typhoon: add validation of offloaded xfrm_states
    ... # Add routines to validate that the xfrm_state passed to them is ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Timer interval limitation
    ... IF both are recorded and 'full date' VB routines are used. ... The programmer that doesn't validate for midnight for his particular timer ... does so at his perl. ...
    (microsoft.public.vb.general.discussion)
  • Is there a managed version of OpenDSObject
    ... We have a VB6 Function which uses IADsOpenDSObject.OpenDSObject to validate ... a users password, against their active directory password. ... COM based routines, is there a "managed" way of validating a password ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Validate vs. Lost Focus
    ... In the past I've had problems using Lost Focus which were resolved ... I'm reworking an old program and am thinking of just changing ALL ... the Lost Focus routines to Validate. ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)