I have a listbox gets populated from a text file. When a user selects the items from the populated listbox, it changes a panel controls caption. The problem is that the listbox has 2 columns of text, the primary text message and a description of the message that is being sent to the panel. When I select row 1 or 2 both the primary message and description are posted to the panel. I only want column 1 to post to the panel when the user selects a row. How do I fix this issue?
Please see example below:
First line of data in Listbox --> Column 1: Open Column 2: Changes message on panel to "Open".
Second line of data in listbox --> Column 1: Closed - Column 2: Changes message on panel to "Closed".