Welcome, Guest. Please login or register.

Author Topic: help updating my listbrowser  (Read 3252 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Steady

Re: help updating my listbrowser
« on: November 21, 2003, 04:36:45 PM »
Hi jahc,

   Sounds like a fun project you have going on. Maybe you'll make it available to play with when you're done.

Sorry for my useless reply to this question in an earlier thread. I'm kind of curious myself and will have a play on the weekend. If I find the answer, I'll let you know.
 

Offline Steady

Re: help updating my listbrowser
« Reply #1 on: November 23, 2003, 09:06:01 PM »
I didn't have time in the end to actually experiment, but I read the autodoc and can see two possibilities that might help you:

You need to know the order of your list for both these options.

1) Add LISTBROWSER_TotalVisibleNodes to LISTBROWSER_Top to give you the index of the last visible node.

2) More complex, but you may be able to use the LISTBROWSER_VProp#? collection of tags to calculate the number of visible nodes (starting from LISTBROWSER_Top) in the same way you would calculate this in basic Intuition. See the Libraries Amiga RKM for details.  I have an example of doing it in Intuition which should be a similar calculation, but I would go with option 1 if possible.
 

Offline Steady

Re: help updating my listbrowser
« Reply #2 on: February 09, 2004, 01:32:02 PM »
Sorry, not been about for the last 5 weeks.

Will find the example and see if I can explain it. Need to remember first, though.  ;-)
 

Offline Steady

Re: help updating my listbrowser
« Reply #3 on: February 18, 2004, 10:26:56 AM »
Quote

jahc wrote:
...Since we've been talking I've decided to use MUI for my client instead of Reaction (bit of a rewrite coming up!) but a friend of mine is going to continue developing the current Reaction version too..


I noticed you seemed to have switched to MUI, which I know nothing about. The example I had was Intuition, not Reaction but I expect the concept to be the same. I will try to post it in the next week.