JakeBullet70 Well-Known Member Licensed User Longtime User Nov 30, 2013 #1 I am trying to set focus to a listview so I can see that the 1st item is highlighted. (the program uses a keyboard) I have tried: B4X: lstLocations.RequestFocus lstLocations.SetSelection(0) But this does not work. I can press the down arrow at this point and then it highlights the 1st entry. How dows one do this? Last edited: Nov 30, 2013
I am trying to set focus to a listview so I can see that the 1st item is highlighted. (the program uses a keyboard) I have tried: B4X: lstLocations.RequestFocus lstLocations.SetSelection(0) But this does not work. I can press the down arrow at this point and then it highlights the 1st entry. How dows one do this?
JakeBullet70 Well-Known Member Licensed User Longtime User Nov 30, 2013 #2 OK, update... When I run this on a real device it works... Run it on the emulator and it does not... hhhhhmmmmm.... Upvote 0
OK, update... When I run this on a real device it works... Run it on the emulator and it does not... hhhhhmmmmm....