Skip to content

Button not always firing a click event and other oddities #1174

Closed

Description

@itg-assistant

edmond girardi asked 2017-10-23 23:33:02 UTC

In my application I have a button with a click event which takes text from a text box and does a lookup. What I've found after much testing are 2 things. 1) The click event does not always fire and 2) sometimes even though there is text in the text box when the click event does fire I get no text back at the server. Later versions of Visual Web Gui used to do this and it would drive me crazy.

Any idea of how to prevent that ? I can setup a screenshare to show you - it will be too difficult to send a sample because of the data files it does a lookup on.

Also - I have a user control that has a few controls- including a datagridview on it. They are added to a flowlayout. The mouse wheel does not work to scroll the flow layout when hovered over an empty datagrid (no rows) but does if it has at least one row

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-10-24 15:29:41 UTC

    Hi Edmond, please contact me directly to setup a teamviewer session.

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    edmond girardi answered 2017-10-24 15:49:56 UTC

    When do you want to do it I can do it now

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    edmond girardi answered 2017-10-24 15:56:08 UTC

    I don’t have your direct email address

  5. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-10-24 15:58:29 UTC

    Just contacted you.

  6. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    edmond girardi answered 2017-10-24 16:05:47 UTC

    no email yet

  7. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-10-24 16:06:59 UTC

    Sent it to your gmail account. My email is gianluca at iceteagroup.com.

  8. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-10-24 16:07:00 UTC

    Sent it to your gmail account. My email is gianluca at iceteagroup.com.

  9. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Carlos Lino answered 2021-10-19 18:05:27 UTC

    Hey Guys! Can someone tell me if this post was an issue or a programming issue? It seems I'm experiencing the same.

    Please advise!

  10. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2021-10-19 18:24:32 UTC

    We don’t have and never had any issue with clicks. One possibility is that the user presses the mouse then moves a bit and releases. In this case the click is not fired if the mouse is released more than a certain number of pixels off.

  11. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Carlos Lino answered 2021-10-19 21:08:00 UTC

    Hey Luca,

    See attachment. I uploaded a sample project and screenshot. I don't know if my pulse is accurate or what but every time I click on the left corner by the button edge, the click event does not fire. See screenshot. Fyi, I removed the bin and obj folder to upload them.

  12. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2021-10-19 21:17:25 UTC

    If you click on 1px border the theme makes the button animate down 1×1 pixels so the browser may generate the mouseup event outside of the button. It’s like pressing the mouse moving it out and the releasing. You can disable the animation using Application.Theme.Appearances.button.states.pressed.styles.transform = null; or a theme mixin. HTH

  13. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Carlos Lino answered 2021-10-20 15:38:34 UTC

    Ohhh gotcha You rock! Thanks Luca.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions