varghesejim
11 years agoOccasional Contributor
Arrow keys for Menu selection not working properly
Hi,
The following way of navigation is not working as expected(Wpf application)
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Right]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Enter]");
...................
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Right]");
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Enter]");
Because of some reason it only works sometimes. How can we make sure the key inputs fpr menu selections are working consistently?
The following way of navigation is not working as expected(Wpf application)
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Right]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Enter]");
...................
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Right]");
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.SomeApp.XamMenuItem.Keys("[Down]");
Aliases.App_Shell.HwndSource_MainWindow.Keys("[Enter]");
Because of some reason it only works sometimes. How can we make sure the key inputs fpr menu selections are working consistently?