Forum Discussion

rbritton's avatar
rbritton
New Contributor
5 years ago

Mouse click Alt key doesn't work

I'm trying to test visual studio's mouse click Go to Definition feature, which allows both ctrl, alt, or both together as the keys. When using the Click() method and passing TShiftKeys, skCtrl works properly, but skAlt does not appear to work as the go to definition is not performed. 

  • With the physically recorded click with the keys, I am seeing the Alt + Click function properly, so there is something about how I determine where to click that is incorrect instead.

  • What happens if you record a test and physically click with those keys?

    • rbritton's avatar
      rbritton
      New Contributor

      With the physically recorded click with the keys, I am seeing the Alt + Click function properly, so there is something about how I determine where to click that is incorrect instead.

      • Marsha_R's avatar
        Marsha_R
        Moderator

        Okay, if you need help with that part, then we'll need to see your exact code.