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?
That pen is the Ink button. You must have placed an InkProvider component on your form.
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.
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.
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?
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~
Hi everybody,
finally the ink button come up again. Now it seems the situation is more stable: computers that show it, always show it, others always do not show it ...
I hope this behaviur will be investigate a little bit.
Ciao
Gianni
Hi, just to report that, inexplicably, inkbutton dissappered from any our computer (64 bit Win7) that showed them for a while, WITHOUT do nothing....
Our Windows7 installations have automatic updates turned on, I can just suppose that some hidden upgrade changed something on OS...
I will post again if the problem will come again.
Bye
we are working with CAB and Infragistics.Practices.CompositeUI.WinForms too.
We have same behavior posted by qbupoew, with the difference that on Win7 some machines show up the pen other not. (on WinXP no machines showed up the pen so far).But curiously only if the application is compiled on each machine there is this problem, if we compile on one of the machine that do not show up the pen, than run compiled output on a machine that show the ink button when running from VS, the pen remain hidden....
Probably work-around proposed by Kim Ho could work, but if we force to ShowInkButton.Never the application will NEVER show up the ink button also on TabletPC !
The issue is: Why on certain machines (with Win7) the pen is correctly not visible and some machines give troubles ? Obviously we are running the SAME application (same code)!
Thanks
We are 3 colleagues working on the same project whereas one of us got a new PC, running Windows 7 and he suddenly had this pen icon in the text boxes. On Windows XP PCs this pen icon did not show up. I found this posting in the forum and since we are using the CAB I tried the change Kim suggested and it also works fine for us.
Thanks Kim
This worked great.
Thanks, Kim.