User Profile

Collapse

Profile Sidebar

Collapse
alma27
alma27
Last Activity: Mar 23 '08, 06:33 AM
Joined: Mar 20 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I created a small project and tested events from Form_keypress
    and either if I typed the characters or passed the magnetic card, each character evoked each event ONLY once.

    But When I run the large project I work on, every FORM Key event is called twice per each character .
    I don't even know where to look for the problem.
    Has anybody run into something like this ?????
    See more | Go to post

    Leave a comment:


  • I am debugging a little problem on a project.
    There is a situation that only the form traps the key events (because the user does not put the cursor , where he should, so the control events don't trigger) and I must trap this situation and fix it.
    While debugging I found out every time a character is entered (by a card, through a card reader) the Form_KeyPress event is triggered twice, as well as the Form_KeyDown and Form_KeyUp....
    See more | Go to post

    Leave a comment:


  • alma27
    started a topic Form Keypress events trapped twice ????

    Form Keypress events trapped twice ????

    I discovered that when a Forn Keydown Event Or Form KeyPress event happens
    Each character is trapped twice on the same Event routine.
    I use VB6, and my form has KeyPreview property = TRUE.
    I was debugging a bug concerning use of card Reader, and while entering the
    code I found out it works this way.

    (When the card is passed correctly with focus on the right field, I get the txtField_keypre ss and KeyDown...
    See more | Go to post
No activity results to display
Show More
Working...