4 Replies Latest reply on Feb 21, 2012 12:24 AM by nfallon55

    set listbox item as selected dynamically

    nfallon55 Level 1

      I have a list that I add items to and then requery a table to refresh the list.  I have the item that I added in string variable.  I would like to set the listbox to have the variable as the selected listitem and highlight the item in the list.  So far I am able to get the variable to be the selected item but can't figure out how to get the list to hightlight the item as if it were selected maually.


      myLists.selectedItem = myNewListItem;