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
MediaPortal 1 Talk
Guicontrolsdemo ? come out, come out, whereever you are?
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="gpnash" data-source="post: 1201498" data-attributes="member: 151666"><p>Hey, thanks for replying....</p><p>1) haven't been able to find any real examples of a plugin written in visual basic.</p><p></p><p>What I was trying to do is display a list of possible shows from the EPG that were flagged by my process to update the EPG.</p><p>Where I started running into problems is the lack of documentation as to the sequence of events in the lifecycle of a plugin.</p><p>With windows forms there are events that are called in order during activation and shutdown and "random" events (messages) that can occur at just about any time.</p><p>the process for handling those events is well documented and pretty much straight forward. ASP.net has a similar lifecycle. much more complex, not as well documented and probably wrong about 1/3 of the time.</p><p>What I need to know and couldn't find out by crawling thru the MP1 or 2 source was...</p><p>what is a plugin really supposed to do when it starts (the documentation in the wiki is obsolete and wrong)</p><p>What events am I required to catch and process. What events can I catch and process.</p><p>at the moment it seems that only the messages event is consistent; for instance INIT is never called, but there is an init message that comes along.</p><p></p><p>I'd expect that the plugin INIT (or whatever it is really called) would be called once.</p><p>That there'd be a LOAD (possibly pageload?) that would be called when the user selected the plugin</p><p>and that any control on the form (skin) would produce a message.</p><p></p><p>when I populate the guilistcontrol (when I get the init message) I can see the list. </p><p>moving the mouse (without clicking on anything) or using the remote to move between controls moves between each of the controls however using the left/right or OK buttons do not cause any message or event to fire. I basically have a pretty list and no way to select anything on it. the mouse buttons and OK do select the single button on the page.</p><p></p><p>if I add a handler to each listitem moving the mouse or using the remote acts as if you have selected each item you pass over. the onitemselected event is fired for every listitem the mouse goes over.</p><p>It should only fire if the listitem is selected</p><p></p><p>sorry if it sounds like I'm grousing... I've just haven't had a learning curve this steep since I left xedit behind for visual studios IDE. (kicking and screaming btw.)</p><p>I'd be happy to read examples/documentation but I haven't been able to find any that were relevant. there isn't even an example of setting up a multicolumn list (another user provided insight there)</p></blockquote><p></p>
[QUOTE="gpnash, post: 1201498, member: 151666"] Hey, thanks for replying.... 1) haven't been able to find any real examples of a plugin written in visual basic. What I was trying to do is display a list of possible shows from the EPG that were flagged by my process to update the EPG. Where I started running into problems is the lack of documentation as to the sequence of events in the lifecycle of a plugin. With windows forms there are events that are called in order during activation and shutdown and "random" events (messages) that can occur at just about any time. the process for handling those events is well documented and pretty much straight forward. ASP.net has a similar lifecycle. much more complex, not as well documented and probably wrong about 1/3 of the time. What I need to know and couldn't find out by crawling thru the MP1 or 2 source was... what is a plugin really supposed to do when it starts (the documentation in the wiki is obsolete and wrong) What events am I required to catch and process. What events can I catch and process. at the moment it seems that only the messages event is consistent; for instance INIT is never called, but there is an init message that comes along. I'd expect that the plugin INIT (or whatever it is really called) would be called once. That there'd be a LOAD (possibly pageload?) that would be called when the user selected the plugin and that any control on the form (skin) would produce a message. when I populate the guilistcontrol (when I get the init message) I can see the list. moving the mouse (without clicking on anything) or using the remote to move between controls moves between each of the controls however using the left/right or OK buttons do not cause any message or event to fire. I basically have a pretty list and no way to select anything on it. the mouse buttons and OK do select the single button on the page. if I add a handler to each listitem moving the mouse or using the remote acts as if you have selected each item you pass over. the onitemselected event is fired for every listitem the mouse goes over. It should only fire if the listitem is selected sorry if it sounds like I'm grousing... I've just haven't had a learning curve this steep since I left xedit behind for visual studios IDE. (kicking and screaming btw.) I'd be happy to read examples/documentation but I haven't been able to find any that were relevant. there isn't even an example of setting up a multicolumn list (another user provided insight there) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Guicontrolsdemo ? come out, come out, whereever you are?
Contact us
RSS
Top
Bottom