Jump to content




Dynamic List


  • You cannot reply to this topic
2 replies to this topic

#1 hbomb79

  • Members
  • 352 posts
  • LocationOrewa, New Zealand

Posted 17 December 2014 - 04:11 AM

Hey everyone, Kinda stumped on this...

Lets say I have an array with several ID numbers inside of it, And I want to loop through it and display the number on screen... Thats simple enough right? What happens when the array contains more than 19 IDs... they move the page down hiding the rest.

I would like help doing the following:

Lets say the array has 13 IDs, I want it so that the first 6 are displayed on screen like thumbnails, I can handle the button drawing... So ones in the top left, next in the top right, then middle left, and so on... Then there is a next button that takes you to the next page displaying the next 6 IDs... and so on until you get to the last page where the button of course no longer does anything and dissappears, there will also be a back button which does the exact opposite (obviously)

can anyone give me any help on this, I have looked at other code but its too difficult for my self to follow..

Thanks in advance -Harry

Edited by Hbomb_79, 17 December 2014 - 04:42 AM.


#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 17 December 2014 - 04:48 AM

I had to do this with my menu. Here's the specific part separating the argument table (tArgs) into the pages.

relevant part


#3 hbomb79

  • Members
  • 352 posts
  • LocationOrewa, New Zealand

Posted 17 December 2014 - 06:01 PM

Thanks, the page calculation is very helpful, although every thing else is replaced by my Apis and buttons, very helpful tho. Thanks for your help





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users