2015-08-13, 16:35
have a layout with 2 controls, each control is visible with a condition, the problem is that I cant say which one have the default focus when is pressed select key.
I make each control have the same id and set this id as de default if but only request focus in first button the other control only work when select key is pressed twice
the layout is something like that
any solution to fix that?
I make each control have the same id and set this id as de default if but only request focus in first button the other control only work when select key is pressed twice
the layout is something like that
Code:
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">1</defaultcontrol>
<controls>
<control id="1" type="button">
<visible>CONDITION</visible>
<description>DESC A</description>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>ACTION A</onclick>
</control>
<control id="1" type="button">
<visible>CONDITION</visible>
<description>DESC B</description>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<onclick>ACTION B</onclick>
</control>
</controls>
</window>
any solution to fix that?