home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
How to display the virtualkeyboard?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="weissollo" data-source="post: 386110" data-attributes="member: 47310"><p>Hello Developers,</p><p></p><p>at the moment I'm working on a plugin for MP. </p><p>I've tried to use the VirtualKeyboard but It does not work. I've tried the code from the wiki: </p><p><a href="https://www.team-mediaportal.com/manual/AdvancedPluginDevelopmentTipsAndTricks" target="_blank">AdvancedPluginDevelopmentTipsAndTricks - MediaPortal Manual Documentation</a></p><p></p><p>It looks like this but the Keyboard will not be shown:</p><p>[code]</p><p></p><p></p><p> protected override void OnPageLoad()</p><p> {</p><p> VirtualKeyboard keyboard = (VirtualKeyboard)GUIWindowManager.GetWindow ((int)GUIWindow.Window.WINDOW_VIRTUAL_KEYBOARD);</p><p> if (null == keyboard)</p><p> return;</p><p></p><p> keyboard.Reset();</p><p> keyboard.Text = League;</p><p> keyboard.DoModal(GetID);</p><p> </p><p> if (keyboard.IsConfirmed)</p><p> {</p><p> MessageBox.Show(League);</p><p> }</p><p></p><p></p><p></p><p></p><p> }</p><p> [/code]</p><p></p><p>There are some errors in the logfile wich I can't interpret. </p><p>And I'm developing with the 1.0 stable version.</p></blockquote><p></p>
[QUOTE="weissollo, post: 386110, member: 47310"] Hello Developers, at the moment I'm working on a plugin for MP. I've tried to use the VirtualKeyboard but It does not work. I've tried the code from the wiki: [url=https://www.team-mediaportal.com/manual/AdvancedPluginDevelopmentTipsAndTricks]AdvancedPluginDevelopmentTipsAndTricks - MediaPortal Manual Documentation[/url] It looks like this but the Keyboard will not be shown: [code] protected override void OnPageLoad() { VirtualKeyboard keyboard = (VirtualKeyboard)GUIWindowManager.GetWindow ((int)GUIWindow.Window.WINDOW_VIRTUAL_KEYBOARD); if (null == keyboard) return; keyboard.Reset(); keyboard.Text = League; keyboard.DoModal(GetID); if (keyboard.IsConfirmed) { MessageBox.Show(League); } } [/code] There are some errors in the logfile wich I can't interpret. And I'm developing with the 1.0 stable version. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
How to display the virtualkeyboard?
Contact us
RSS
Top
Bottom