NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 23 24 25 26 27 … 93 Next »
List ScrollUp/ScrollDown arrows

 
  • 0 Vote(s) - 0 Average
List ScrollUp/ScrollDown arrows
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#1
2009-08-11, 02:00 AM
I am using WizTools and I have a WizUiList that I am trying to get the ScrollUp and ScrollDown buttons to appear.

According to the WizTools Developer Document, to have the scroll buttons appear, you add the following to your skin.xml:
Code:
<CompositeImage name="ListPositionInfo" size="10.0,4.5" >
    <DrawText text="@positionText" loc="0,0" size="78,100" textStyle="GeneralTextStyle" align="Right" valign="Center" />
    <DrawImage filename="..\_CoreImages\up.png" loc="80,0" size="10,100" visible="@moreUp" />
    <DrawImage filename="..\_CoreImages\down.png" loc="90,0" size="10,10.0" visible="@moreDown" />
</CompositeImage>
This works great to get the buttons to appear, but that is all they do. I want them to be able to be selected with a mouse, and have the list page up or down. But, I don't want them to become a focusable item.

How do I get the ScrollUp and ScrollDown buttons to appear like the ones in the Music Library, Recordings, etc., that allow you to page up/down in the list, but not become a focusable button? This is where I'm having difficulties.

I've tried the 3 seperate ListPositionInfo, ListScrollUp, and ListScrollDown CompositeImages like the mentioned items above have in their skin.xml files, but I can't get anything to appear.

For example, if my list is called, ExampleList, I would have the following three CompositeImage XML tags:
Code:
<CompositeImage name="ExampleListListPositionInfo" size="10.0,4.5" >
    <DrawText...
</CompositeImage>
<CompositeImage name="ExampleListListScrollUp" size="10.0,4.5" >
    <DrawImage...
</CompositeImage>
<CompositeImage name="ExampleListListScrollDown" size="10.0,4.5" >
    <DrawImage...
</CompositeImage>
I know I'm probably missing something simple.

Thanks for any help.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2009-08-14, 12:24 AM
Sorry, have not responded. Been on the road and away from development machines. Should be back @ home next week and I'll take a look into this.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#3
2009-08-19, 04:58 AM
Ok, I have looked at the listbox code, and the up/down arrows at this point are not clickable. I think I can add this functionality, but it will have to wait awhile as I am swamped with my 'real' job for awhile.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#4
2009-08-19, 01:57 PM
sweet, thanks JW! I can implement my own buttons to do it, but there is no way to make them non-focusable... So if the ListBox can do it, that'd be great!
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#5
2009-08-24, 01:26 AM
Give this WizUiHelper.DLL (v1.0.12.6) a try. It should recognize button clicks on the up/dn eyecatchers in the ListPositionInfo composite image.

Please don't distribute yet, as there may be other code in this DLL that is not ready for release yet.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#6
2009-08-25, 02:09 AM
Could any developers using WizUiList and the PositionInfo capability try out the DLL below. The Up / Down Arrows in the list info area are now clickable, and will page Up / Down on a mouse click.

Before I release new version, I'd like some feed-back as to any unexpected behavior or bugs...

I've tried it in MovieWiz and SearchWiz and it seems to work ok, I'd just like some confirmation from other developers so I don't break anyones plugins.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#7
2009-08-25, 01:15 PM (This post was last modified: 2009-08-25, 01:24 PM by scb147.)
Isn't V1.0.12.6 the current version of WizWebHelper? Smile
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#8
2009-08-25, 06:16 PM
Sorry, must have had a brain-cramp.... I uploaded WizWebHelper, not WizUiHelper. I'll post the right DLL as soon as I can...

Sorry.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#9
2009-08-25, 06:38 PM
Try this version of WizUiHelper (v1.0.22.6).
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#10
2009-08-26, 02:00 PM
I'm assuming somewhere in the Controls_OnKeyDown event I need to add some logic to control the up/down control?

I added this to the skin:
Code:
<CompositeImage name="ListPositionInfo" size="20.0,4.5" >
       <DrawText text="@positionText" loc="0,0" size="80,100" textStyle="GeneralTextStyle" align="Right" valign="Center" />
       <DrawImage filename="..\_CoreImages\up.png" loc="80,0" size="10,100" visible="@moreUp" />
       <DrawImage filename="..\_CoreImages\down.png" loc="90,0" size="10,100" visible="@moreDown" />
</CompositeImage>
So I get the up/down buttons, but clicking on them does nothing...
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Channels List by Channel Group Name scJohn 1 2,729 2018-01-05, 10:45 PM
Last Post: mvallevand
  Channel List (native controller) psycik 2 3,021 2017-06-19, 09:14 AM
Last Post: psycik
  List of "IEventNotification" events? reven 8 3,326 2012-11-01, 10:56 PM
Last Post: reven
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,847 2012-02-05, 10:29 AM
Last Post: bgowland
  Update NewSyleListPlugin Button list dynamically? psycik 2 1,713 2011-12-22, 12:25 AM
Last Post: mvallevand
  Single row horizontal list in popup? cncb 4 2,151 2011-09-28, 09:48 PM
Last Post: cncb
  A list of changing images McBainUK 1 1,824 2011-06-21, 04:36 PM
Last Post: sub
  Multiple views for a single list imilne 18 5,374 2011-04-22, 11:06 PM
Last Post: sub
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,811 2011-02-17, 08:46 AM
Last Post: McBainUK
  List of Skin Elements ACTCMS 7 3,083 2010-12-22, 12:06 AM
Last Post: ACTCMS

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

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

Linear Mode
Threaded Mode