|
-
Mar 21st, 2000, 03:15 PM
#1
Thread Starter
New Member
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
-
Mar 21st, 2000, 03:43 PM
#2
PowerPoster
Suggest ListView
I this case, why no you use the ListView control. It much much better in GUi & manipulation.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|