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!)
GuiWindow.OnAction question
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="Edalex" data-source="post: 930177" data-attributes="member: 63839"><p>If your WebBrowser OnAction has no base.OnAction then music shouldn't stopped</p><p>And i See it in line 619 <a href="http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GUIPlugin.cs?revision=4515&view=markup" target="_blank">http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GUIPlugin.cs?revision=4515&view=markup</a></p><p>But on the other side removing it will cause many not working keys so your way is make smth like this:</p><p>[CODE]If (action.wID!=MediaPortal.GUI.Library.Action.ActionType.ACTION_PREV_ITEM || action.wID!=MediaPortal.GUI.Library.Action.ActionType.ACTION_NEXT_ITEM)</p><p>{</p><p>base.OnAction(action);</p><p>}</p><p>else</p><p>{</p><p>//your code</p><p>}[/CODE]</p><p>Also maybe you should need to override base.OnClick</p></blockquote><p></p>
[QUOTE="Edalex, post: 930177, member: 63839"] If your WebBrowser OnAction has no base.OnAction then music shouldn't stopped And i See it in line 619 [url]http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GUIPlugin.cs?revision=4515&view=markup[/url] But on the other side removing it will cause many not working keys so your way is make smth like this: [CODE]If (action.wID!=MediaPortal.GUI.Library.Action.ActionType.ACTION_PREV_ITEM || action.wID!=MediaPortal.GUI.Library.Action.ActionType.ACTION_NEXT_ITEM) { base.OnAction(action); } else { //your code }[/CODE] Also maybe you should need to override base.OnClick [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GuiWindow.OnAction question
Contact us
RSS
Top
Bottom