Hi,
I have an application with an UltraDayView, UltraMonthView and UltraTimeLineView all overlapping in pages of a tab control. I use an UltraToolbarsManager to control a contextual menu when I right-click onto the controls. On my development PC, it all works wonderfully.
On a tablet PC, when I put the stylus on the surface and wait for about 1 second, a small white circle normally appears meaning that it considers that I right-clicked at this location. This works fine for all the control I know except these three controls. When I set the stylus into them, nothing happens for about 10 seconds; then a large gray circle appears and no action is taken.
The only way I have to emulate a right-click in these controls is using the button on the stylus, but I found out that few of our users work that way. Is there a setting that I can use to get this right-click emulation of the stylus to work properly?
Thank you
We are using NetAdvantage 14.2.
Hello Réal,
The right click via touch is not working properly as a result of our gesture support for the control. This is a known bug which is in development. We will link this case to the bug to provide more information for development.
For now, one work around you may use is to turn off the gesture support for that control. Please take a look at my attached sample to see that right click is working properly once gesture support is disabled. Please note that if you do this, you will not be able to scroll.
We apologize for this inconvenience, and please let me know if I can further assist you.
Very respectfully, John VanZwieten Windows Forms Software Developer Infragistics Inc.
Thank you for your explanation. Unfortunately, We simply cannot forego scrolling. This we have to keep it the way it currently is until a new release with thsi fix comes out. Meanwhile, I guess users will have to use the stylus button to right-click.
If you could let us know which version will have this fix, it would be appreciated.
Thank you.
While we cannot speculate a precise time by which this issue will be addressed, we will be implementing any fix in all versions still in maintenance. To see which versions still remain in maintenance, please refer to our Product Lifecycle page and reference the "Last SR" column here: http://ko.infragistics.com/support/product-lifecycle
Furthermore, I have enabled your viewing of the case, where you can view any updates to the issue, which is linked to the case: CAS-170296-X2L5H4
Again, we apologize for the inconvenience, and please let me know if I can further assist you.
Very respectfully,
John VanZwieten
Windows Forms Software Developer
Infragistics Inc.
Réal,
After reviewing the issue, we’ve concluded that the controls are working as designed.
For controls which support gestures, executing a press and hold on the control will invoke a PressAndHold gesture instead of a right click. There are a few ways that you can interact with this feature to achieve your desired functionality:
If a ContextMenu or ContextMenuStrip is assigned to the control, the Operating System will respond to a PressAndHold gesture by showing that ContextMenu or ContextMenuStrip. Please note that the controls that you’ve mentioned do not have any built in ContextMenus assigned to them, so you would have to create and assign your own to observe this functionality.
You can subscribe a handler to the PressAndHoldGesture event to conduct any of your own processing at that time, as well as manually display your ContextMenu at that time.
If you want to treat the press and hold as a right click even, such as if you wanted to perform your own processing on a right-click event, you can disable PressAndHold gestures. This can be done by stripping the PressAndHold bit out of the support gesture modes in the GestureQueryStatus event:
private void ultraDayView1_GestureQueryStatus(object sender, Infragistics.Win.Touch.GestureQueryStatusEventArgs e) { e.Mode = e.Mode & ~Infragistics.Win.Touch.GestureModes.PressAndHold; }
Please let me know if this meets your need and if I can assist you further.