Every since we upgraded to 9.1 we are getting seemingly random instances where the pen icon or editor will show up on the right side of some of our text and combo editors.
It doesn't happen with all editors on all forms, which we find wierd, and we can't pinpoint why it's happening, as we haven't changed anything other than doing the upgrade.
Any ideas?
Amberfontes,
I'm assuming you're using the Infragistics.Practices.CompositeUI.WinForms assembly in your CAB application? If so, the assembly defaults to use the ink functionality if ink recognition is supported. You can easily change this by going into the Infragistics.CompositeUI.WinForms solution, opening up the IGWindowsFormsApplicationBase class and modifying the ProvideInkSupport property to return ShowInkButton.Never (default is ShowInkButton.Default). Rebuild the solution and use the new Infragistics.Practices.CompositeUI.WinForms assembly in your application.
Hope this helps,
~Kim~
There are no UltraInk providers in the project and no, this is not for Tablet PC. I do see the Microsoft Ink assembly registered in our app config, but we're not using it anywhere that I can see.
We are using CAB and so I'm wondering if some references to Microsoft.Practices.CompositeUI.WinForms are getting mixed up with Infragistics.Practices.CompositeUI.WinForms?
As for setting ShowInkButton to never, yes, this turns it off; however, we are also having this problem in an Infagistics TextBoxTool control and there is no ShowInkButton property for that. Do you know how access that property for TextBoxTools?
Hi Amber,
I assume you are not running or developing this application on a Tablet PC?
There's no way those buttons should ever show up unless you have an UltraInkProvider on the form (or container) with the controls.
Just as a test, you might want to try putting one on the form and see what happens if you set ShowInkButton to Never on it. That should explicitly turn off the Ink button on all controls on the form.
Are you ceratin that the controls pictured here are Infragistics controls? If they were not, it might explain why only the one tab is affected.
No, we haven't added any ink.
As you can see, we have multiple tabs on our interface. Only the one shown is displaying the ink buttons. At one point, the search box at top, which is an ultra combo editor, and the small navigation text box to the left of it, were displaying the buttons, but they mysteriously stopped.
Also, I created a new form in a new project yesterday, which inherited a lot of code from this form, and the search box and nav. text box on that form ARE displaying the buttons, but when I search that new project the word 'Ink' is nowhere in the code or the form designer.
I'm assuming we'll now have to set all the 'Show Ink Buttons' to 'Never' on all our editors to prevent this from happening. However, the small text box in our search menu is a text tool. I don't see any way to turn off the ink button on a text tool.
That pen is the Ink button. You must have placed an InkProvider component on your form.