Jump to content
  • 0

Preference: Next- and Previous Page is 1) a Circle or 2) a Line (Pages Loop Around and Touch Each Other or Not)


d0ugparker

Question

The nice thing about standards is there are so many of them. ; - ) When next-page and prev-page buttons are added—though there are two ways to implement them, circular or linear—the default selected is the straight line. On a Stream Deck page, then, on your last page, you're stuck: you can only go backwards to the previous page.

 

But what if there was a preference where “the last page” was defined as and could loop back to “the first page?”

 

Simple code change seems like it would allow it to happen. When “next page” is clicked, the code run would be

 

min(1,next)

 

that's assuming that 

 

next

 

at the end of the list would returns some valid, non-zero, non-negative answer. Don't shoot me, I'm only the piano player. Regards. 

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...