Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Question

How do I use a virtual keyboard?

Answer

Simply use the following code:

VirtualKeyboard keyboard = (VirtualKeyboard)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_VIRTUAL_KEYBOARD);
if (null == keyboard)
  return;

keyboard.Reset();
keyboard.Text = strLine;
keyboard.DoModal(GetID);
if (keyboard.IsConfirmed)
{
  // Do something here. The typed value is stored in "keyboard.Text"
}

   

 

This page has no comments.