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 1 made on Tuesday March 17, 2009 at 14:43
pthornhill
Long Time Member
Joined:
Posts:
June 2008
53
I have a volume button (hard button) script that is looking for a widget on a page within same activity/device. The widget is always called "volbarpanel", and each device/activity can have multiple pages with different page script tags. Each page has the same "volbarpanel" widget.

How can I make the volume hard button reference the widget on the currently showing page? I have tried GUI.widget("volbarpanel") and it only gets a handle to the widget on the 1st page in the device that is viewed after entering the device/activity.

Same goes if I try CF.widget("volbarpanel",CF.activity().page().tag). It doesn't update handle if you switch between pages without coming out of the activity.

I don't want to manually give these widgets different tag names. Any suggestions?


Hosting Services by ipHouse