Hi everyone,
I'm using a listview as a way to choose an item (record) in a database. Typically the user scrolls through the list & clicks on an item to open up a form which contains all the other fields associated with the selected record. The user can change the field contents then either select the next or previous record from within this form view to navigate to adjacent records. The user can also select a back button to return to the listview. If the record has been updated a green tick appears in the list. This all works nicely.
What I'm looking to do is :
* Highlight the currently selected record in the listview. So that when the user returns to this view they know where they are.I was hoping the new V1.5 'setselection' method could be used.
* If possible, automatically scroll the list to position this selected item in the centre of the view. (I don't believe listviews can be scrolled programmatically - but this would be a nice feature)
Any ideas to how I can achieve this will be greatfully received...
Cheers
I'm using a listview as a way to choose an item (record) in a database. Typically the user scrolls through the list & clicks on an item to open up a form which contains all the other fields associated with the selected record. The user can change the field contents then either select the next or previous record from within this form view to navigate to adjacent records. The user can also select a back button to return to the listview. If the record has been updated a green tick appears in the list. This all works nicely.
What I'm looking to do is :
* Highlight the currently selected record in the listview. So that when the user returns to this view they know where they are.I was hoping the new V1.5 'setselection' method could be used.
* If possible, automatically scroll the list to position this selected item in the centre of the view. (I don't believe listviews can be scrolled programmatically - but this would be a nice feature)
Any ideas to how I can achieve this will be greatfully received...
Cheers