Make edittext active when radiobutton clicked
I have a complex panel, and am trying to jump straight to an edittext when a radiobutton is clicked.
Greatly simplified:
box.groupButton.onClick = function ( ) { box.groupEdittext.active = true };
box.groupEdittext reports as active when tested in the long version of the above function, but neither shows as having the focus nor has the cursor placed in it.
I've also tried:
box.groupButton.addEventListener ( 'click', function ( ) { box.groupEdittext.active = true } );
with the same (non) effect.
Elsewhere:
box.groupEdittext1.onActivate = function ( ) { box.groupEdittext2.active = true };
(which is the closest to an onClick event as one can get with edittext) works as expected (albeit not a lot of use), putting the focus on box.groupEdittext2and placing the cursor in it.
Changing the radiobutton to a checkbox effects no change in behaviour.
Any ideas how to achieve this simple jump very much welcomed, or is it impractical/impossible? Or am I too stupid to see the blindingly simple error/solution?
