Problem in assigning id's for arrow keys movement.
#1
Rainbow 
I have two controls on screen like following:
First one is button and another one is Search box with id="8" or Filter box with id="19" but only one of the boxes is visible at any moment.

I want to write <onright>what_to_write_here</onright> in button so that which ever edit box is visible, should get focus on pressing the right key.

This is not working:
<control type="button">
<onright>8</onright>
<onright>19</onright>
</control>

Please tell me the best way to do that.
Thank You.
Reply
#2
(2012-08-01, 16:03)slinuxgeek Wrote: I have two controls on screen like following:
First one is button and another one is Search box with id="8" or Filter box with id="19" but only one of the boxes is visible at any moment.

I want to write <onright>what_to_write_here</onright> in button so that which ever edit box is visible, should get focus on pressing the right key.

This is not working:
<control type="button">
<onright>8</onright>
<onright>19</onright>
</control>

Please tell me the best way to do that.
Thank You.

<onright condition="Control.IsVisible(19)"> etc
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#3
Thank You phil65 Smile that worked !!
Reply

Logout Mark Read Team Forum Stats Members Help
Problem in assigning id's for arrow keys movement.0