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!)
Event not firing
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="Anonymous" data-source="post: 4367"><p>Damn, there was already code in the constructor to register the event handler.</p><p></p><p>The code in the constructor looks ok to me, but there is also a log entru written, LogWrite("Starting") that I never really see in the log.. I doubt if this code actually ever runs, but I am not sure why it wouldn't. It is in the constuctor of what I think is the main application class.</p><p></p><p>Here is the code from the constructor:</p><p></p><p>Log.Write("-------------------------------------------------------------------------------");</p><p> Log.Write("starting");</p><p> GUIGraphicsContext.form = this;</p><p> GUIGraphicsContext.graphics = null;</p><p> GUIGraphicsContext.ActionHandlers += new OnActionHandler(this.OnAction);</p></blockquote><p></p>
[QUOTE="Anonymous, post: 4367"] Damn, there was already code in the constructor to register the event handler. The code in the constructor looks ok to me, but there is also a log entru written, LogWrite("Starting") that I never really see in the log.. I doubt if this code actually ever runs, but I am not sure why it wouldn't. It is in the constuctor of what I think is the main application class. Here is the code from the constructor: Log.Write("-------------------------------------------------------------------------------"); Log.Write("starting"); GUIGraphicsContext.form = this; GUIGraphicsContext.graphics = null; GUIGraphicsContext.ActionHandlers += new OnActionHandler(this.OnAction); [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Event not firing
Contact us
RSS
Top
Bottom