Then the question would go down to

Since the lostfocus events is triggered ( and is not named "losingfocus") I presumed the focus is already lost. So how comes that calling a Msgbox would retrigger the same event.

Confusing

How would I go about verifying that the content of two fields is identical and display a warning if it isn't without re-triggering the event?

tia

Bart


On 2-okt-06, at 16:26, Robert Poland wrote:


On Oct 2, 2006, at 8:19 AM, Bart Pietercil wrote:

Hi,

why would this code when placed in the lostfocus event fire twice ?



  if me.Text <> fld_p1_password.Text then
    MsgBox " De paswoorden zijn niet identiek."
  end if

TIA

Bart

IMHO when you go to the MsgBox you again lose focus.

Robert Poland
[EMAIL PROTECTED]



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to