|
-
Jun 6th, 2010, 12:03 PM
#1
Thread Starter
Addicted Member
[SOLVED] Specific counting in listbox
Hey,
I'm having a problem and I can't seem to crack it.
Let's say these items are in a listbox
name-05.06.2010
somtext-05.06.2010
lol-06.06.2010
sth-06.06.2010
hello-06.06.2010
Each of the items has the date it was added on the back after the -
Now I select sth-06.06.2010
This is the second item of 06.06.2010
How would I get "2" in a label, as it's the second item of that date?
If I'd chose hello-06.06.2010 then 3 would appear
If I'd chose somtext-05.06.2010 then 2 would appear.
How would I count the index of it based on the date?
Last edited by vixez; Jun 6th, 2010 at 12:19 PM.
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
|