Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 7 made on Tuesday March 24, 2009 at 08:18
mraneri
Long Time Member
Joined:
Posts:
February 2009
141
Glad to hear it worked for you.

Another trick I've used, which may help you, depending on exactly what your trying to accomplish is to pass control from the activity to a function on the currently active page.. So, in my soundbridge (Similar to Slimpronto) activity, I detect a song change at the activity level, and then call the "SongChanged" function on whichever page is active... Something like this...

if (page().SongChanged != null) page().SongChanged();

On pages where I don't care if the song changed, I never declare the function, and it never gets called. And on pages where I do, I can take the appropriate action. This way, I can still keep all the specific page code at the page level, and easily pass control from the activity to the current page.


Hosting Services by ipHouse