Jump to content

Recommended Posts

I have an issue trying to get an item to be selected in listview.

Say in an app. I want to select an item in the listview and a corresponding option page will be available upon the item getting the focus. (So if you click on an item its option page will be available, or the page is greyed out if no item is selected)

I used the ControlListView method to retrieve the index of the item by giving its string. Then, I used the same method to deselect all items and then selecedt an item using that index. What happens next is that the item does get the focus (highlighted) and there will still be a dotted retangle surrouding the previously selected item. This causes the option page to be greyed out since the app thinks that nothing has been selected. If I manually clikc on the item again it will remain to be highlighted while the dotted line from the previous item disappears and everything works. Any ideas....???

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...