Unplanned
Last Updated: 29 Mar 2016 10:23 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 11 Dec 2014 10:18
Category: Editors
Type: Bug Report
1
FIX. RadAutoCompleteBox - the virtual keyboard on Windows 7 touch device is not automatically shown when the control is focused
When you focus a RadTextBox you will notice the keyboard button that popups next to the focused control. However, for the RadAutoCompleteBox this keyboard button does not show.

Workaround: show it manually on the GotFocus event and hide it on the LostFocus event 

private void radTextBox1_GotFocus(object sender, EventArgs e)
{
    string progFiles = @"C:\Program Files\Common Files\Microsoft Shared\ink";
    string keyboardPath = Path.Combine(progFiles, "TabTip.exe");
    Process.Start(keyboardPath);
}
 
private void radTextBox1_LostFocus(object sender, EventArgs e)
{
    var procs = Process.GetProcessesByName("TabTip");
    if (procs.Length != 0)
        procs[0].Kill();
}
0 comments