General information
Category:
Coding, syntax & commands
Title:
Highlighting row in ListBox
I have a listbox in a form. Elsewhere on the form, there is a button to "add" an element to the list; when this is pressed, a new form appears to enter the data for the new element. When the user presses "OK" on the new form, the data entry form closes and the listbox refreshes itself and now also displays the new element. None of the elements in the listbox, however, are chosen/highlighted.
I want the last element entered to be highlighted/chosen. Where/what code do I need to add in?
CM
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only