Disable looping/cycling in grouplist?
#1
Hi!

Please consider this:

PHP Code:
<control type="grouplist" id="103">

      <
orientation>vertical</orientation>
       
      <
control type="button" id="1001">  
        <
label>my label</label>
      </
control>
      <
control type="button" id="1002">  
        <
label>my label</label>
      </
control>
      <
control type="button" id="1003">  
        <
label>my label</label>
      </
control>

    </
control

If the last item/button is focused and I press the down arrow key, by default I go back to the first item... instead I want to be stuck at the last button (if I keep "going down") and only be able to go back by one position at a time, by pressing the UP key.

How may I disable the looping/cycling behavior described above?

Many thanks,

Guido
Reply
#2
Add <ondown>-</ondown> to your grouplist.
Image
Reply

Logout Mark Read Team Forum Stats Members Help
Disable looping/cycling in grouplist?0