NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 11 12 13 14 15 … 93 Next »
Update NewSyleListPlugin Button list dynamically?

 
  • 0 Vote(s) - 0 Average
Update NewSyleListPlugin Button list dynamically?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2011-12-22, 12:04 AM
So if I have a base set of buttons and them want to add to it, change it, can I force the list to be reloaded?

I've tried a this.uiButtonStrip.NeedsRendering();
And calling the this.GetButtonList();

Anything else I can try?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,643
Threads: 767
Joined: Nov 2003
#2
2011-12-22, 12:19 AM
The base classes weren't really designed for these to be dynamically updated, but you'd be able to do something like this:

Code:
// release previous button strip
            uiButtonStrip.Dispose();

            // recreate it...
            uiButtonStrip = new UiButtonStrip("ButtonList", GetButtonList(), this, new Hashtable(), skinHelper);
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,809
Threads: 954
Joined: May 2006
#3
2011-12-22, 12:25 AM
While reminds me of this example

http://forums.nextpvr.com/showthread.php...post410387

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG update API mvallevand 2 1,393 2020-12-02, 01:17 AM
Last Post: mvallevand
  Channels List by Channel Group Name scJohn 1 2,742 2018-01-05, 10:45 PM
Last Post: mvallevand
  Channel List (native controller) psycik 2 3,033 2017-06-19, 09:14 AM
Last Post: psycik
  Update Season and Episode from EPG_EVENT puck64 0 2,777 2015-08-31, 07:37 AM
Last Post: puck64
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,036 2013-03-24, 08:03 PM
Last Post: imilne
  List of "IEventNotification" events? reven 8 3,338 2012-11-01, 10:56 PM
Last Post: reven
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,854 2012-02-05, 10:29 AM
Last Post: bgowland
  Single row horizontal list in popup? cncb 4 2,157 2011-09-28, 09:48 PM
Last Post: cncb
  A list of changing images McBainUK 1 1,835 2011-06-21, 04:36 PM
Last Post: sub
  Multiple views for a single list imilne 18 5,385 2011-04-22, 11:06 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode