2014-11-29, 20:22
Hi
I have a problem with navigation on the list container items, when I use the selectItem method I can be able to navigation on the items when I pressing down arrow button of the keyboard, but when I pressing on the up arrow button of the keyboard, nothing will happens that it supposed to be navigation on the items.
Here is the one I use:
It will works fine with the fixedlist, but I don't like the autoscroll.
Do you know how I can navigation on the items when I press on the up and down arrow buttons of the keyboard?
I have a problem with navigation on the list container items, when I use the selectItem method I can be able to navigation on the items when I pressing down arrow button of the keyboard, but when I pressing on the up arrow button of the keyboard, nothing will happens that it supposed to be navigation on the items.
Here is the one I use:
Code:
<control type="list" id="4326">
<description>My first list container</description>
<posx>12</posx>
<posy>305</posy>
<width>350</width>
<height>271</height>
<onup>4326</onup>
<ondown>4326</ondown>
<pagecontrol>7</pagecontrol>
<viewtype>list</viewtype>
<orientation>vertical</orientation>
<focuseditem>0</focuseditem>
<itemlayout height="37" width="350">
<control type="image">
<posx>0</posx>
<posy>10</posy>
<width>350</width>
<height>34</height>
<texture>channels_bar1.png</texture>
</control>
<control type="label">
<posx>3</posx>
<posy>10</posy>
<width>350</width>
<height>34</height>
<font>Font_Bold25</font>
<aligny>center</aligny>
<selectedcolor>FF000000</selectedcolor>
<textcolor>0xFFFFFFFF</textcolor>
<align>left</align>
<info>ListItem.Label</info>
</control>
</itemlayout>
<focusedlayout height="37" width="350">
<control type="image">
<posx>0</posx>
<posy>10</posy>
<width>350</width>
<height>34</height>
<visible>!Control.HasFocus(4326)</visible>
<texture>changelang_yellow.png</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>10</posy>
<height>34</height>
<width>350</width>
<visible>Control.HasFocus(4326)</visible>
<texture>changelang_yellow.png</texture>
</control>
<control type="label">
<posx>3</posx>
<posy>10</posy>
<width>350</width>
<height>34</height>
<font>Font_Bold25</font>
<aligny>center</aligny>
<selectedcolor>0xFFFFFFFF</selectedcolor>
<textcolor>FF000000</textcolor>
<align>left</align>
<info>ListItem.Label</info>
</control>
</focusedlayout>
</control>
</control>
It will works fine with the fixedlist, but I don't like the autoscroll.
Do you know how I can navigation on the items when I press on the up and down arrow buttons of the keyboard?