Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

e_key cause 2 instances

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • e_key cause 2 instances

    Whenever I use the e_key event, it cause the action to occur twice. Here is one sample code:

    if e_Key == 32 then
    File.Open("c:\install.log", "", SW_MAXIMIZE);
    end

    Is this an anomoly or has anyone else experienced this?

    Kurt

  • #2
    Kurt,

    Your code works fine on my system. It only opens one instance of a document that I set up.

    Perhaps it could be something to do with your hardware?

    Adam Kapilik

    Comment


    • #3
      I thought about that after I posted this. I need to test on another computer.

      Thanks.

      Comment


      • #4
        How about the Character Repeat' then...'Repeat delay' (Win XP Home Edition for this example)?

        If set to the 'short' end it is possible that when the said key is in the down state Windows (OS) is seeing this as more than one key press, thus held down to long?

        In Win XP Home Edition, again, the Keyboard applet in the Control panel to adjust that setting.

        Hope this helps or stirs up a solution.
        Intrigued

        Comment


        • #5
          I checked the character repeat, and it should have been fine where it was set. I slowed it down even more, with no change in the result.

          I am preparing to test on another computer.

          Comment


          • #6
            Sounds like a good idea. It will still leave us not knowing the cause though on the first machine and that will gnaw at me I'm sure. (grin)

            ps. Try another keyboard then on the 'problematic' machine?
            Intrigued

            Comment


            • #7
              I haven't tested on another machine yet - I have been out of town. Will get to it soon.

              Comment


              • #8
                I thought I seen this post somewhere.

                The e_Key event is firing twice. I have the exact code elsewhere and it doesn't do this. No matter how fast you hit the key, it runs twice for some reason. Bug?
                Regards,

                -Ron

                Music | Video | Pictures

                Comment


                • #9
                  The problem occurs on some machines, but does not on others. All computers I tested on are using XP Pro.

                  Comment

                  Working...
                  X