Strange Event Behavior

  1. 8 months ago

    Jonathan E

    28 Jan 2019 Pre-Release Testers, Xojo Pro Las Vegas, NV

    I'm working on a large web app and have hit a snag. I use the KeyDown event in a few key places to do things like check inputs and handle barcode scanner input, but for some reason on Firefox, the KeyDown event doesn't fire on one page, but only on that page and only in Firefox. I've gotten to the point where I'm adding the event handler to every single control on the page and it still does not fire.

    In the course of debugging this problem, I noticed that if I tried to access framework/framework.js it does not show the correct file. It only shows this:

    Xojo.controls['bdOv4QNA'].step()

    I did find that it always references a progress wheel on the offending page in that single line.
    In Chrome framework.js displays correctly in the debugger, and in other web apps that I've loaded it displays correctly so I'm not sure if this is a problem with my project in and of itself and if that may be causing my problem. Does anyone have any insight?

  2. Hal G

    28 Jan 2019 Pre-Release Testers, Xojo Pro, XDC Speakers CampSoftware.com

    Guessing, but step might be related to number inputs with the up/down arrows on the right.

  3. Jonathan E

    28 Jan 2019 Pre-Release Testers, Xojo Pro Las Vegas, NV

    @Hal G Guessing, but step might be related to number inputs with the up/down arrows on the right.

    Hmm, I'm not using any of those.

  4. Hal G

    28 Jan 2019 Pre-Release Testers, Xojo Pro, XDC Speakers CampSoftware.com

    Sorry. I may have gotten it mixed up with: https://www.w3schools.com/tags/att_input_step.asp

  5. Jonathan E

    28 Jan 2019 Pre-Release Testers, Xojo Pro Las Vegas, NV

    @Hal G Sorry. I may have gotten it mixed up with: https://www.w3schools.com/tags/att_input_step.asp

    That's what I had found intially but couldn't think of how that would apply to a progress wheel or anything I am using in this project.

    Reading the framework.js file it looks like the .step() function is called to update the display of a progresswheel.

  6. Jonathan E

    28 Jan 2019 Pre-Release Testers, Xojo Pro Las Vegas, NV

    After removing all progress wheels from the project it seems that the framework.js file is displaying correctly in Firefox's debugger, but I still can't get the event to fire.

or Sign Up to reply!