|
-
Mar 23rd, 2008, 07:37 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Display number only and not text
I have a list, and in my items are labeled like this:
List1.Add Item "Home sound 14"
List1.AddItem "Home sound 15"
List1.AddItem "Home sound 16"
I use the following code to play the text into a label:
Label1.Caption = List1.List(List1.ListIndex)
My question is:
How can I just send the number to the label caption so only "14", "15", "16", etc. is sent and not the words like "home" or "sound"?
Thanks.
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
|