-
Is it possible to display only a righthand part of a string in a list box?
I have an array strings where the first 10 characters are an identifier and the remainder (11 onwards) are names.
I want to be able to sort the listbox by identifier but only display the names.
When I select an item, I want to be able to retreive the whole string including the identifier although only the name portion is being displayed in the list box..
eg
A$(1)="1234567890JOE BLOGGS"
A$(2)="9876826527FRED SMITH"
A$(3)="0000000292ANGELA JONES"
I want the list box to display only the names but I need to retreive the whole string with numbers when I select an item.
TIA
-
Suggest ListView
I this case, why no you use the ListView control. It much much better in GUi & manipulation.