Button not always firing a click event and other oddities

0
0

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

  • You must to post comments
0
0

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.

  • Luca (ITG)
    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
  • Carlos Lino
    Ohhh gotcha You rock! Thanks Luca.
  • You must to post comments
0
0

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!

  • Luca (ITG)
    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.
  • You must to post comments
0
0

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

  • edmond girardi
    I don’t have your direct email address
  • Luca (ITG)
    Just contacted you.
  • edmond girardi
    no email yet
  • Luca (ITG)
    Sent it to your gmail account. My email is gianluca at iceteagroup.com.
  • Luca (ITG)
    Sent it to your gmail account. My email is gianluca at iceteagroup.com.
Showing 3 results
Your Answer

Please first to submit.