|
-
Jul 31st, 2010, 09:33 AM
#1
Thread Starter
Lively Member
[RESOLVED] ListBox editing
I have one CheckedListBox called cListBox, and I have one ListBox called ListBox.
In my cListBox I have, for example:
Code:
IDS_PROPITEM_TXT_011131 Space Cadet Set for male characters comes complete with hair piece, Space Fleet Uniform, hands, and boots.
IDS_PROPITEM_TXT_011141 Space Cadet Set for female characters comes complete with hair piece, Space Fleet Uniform, hands, and boots.
It is ALWAYS the case that you have IDS_PROPITEM_TXT_somekindof6longvalue (TAB seperator) some kind of text.
What I want is this:
If I check one of the things in cListBox, that Item is edited so you only keep the first part of the Item (the IDS_PROPITEM_TXT_6numbers) and that is added to the ListBox.
I just can't figure out how to accomplish this.
-
Jul 31st, 2010, 09:39 AM
#2
Re: ListBox editing
Switch to using a ListView which supports multiple columns, which would be much easier.
If you would prefer staying with a standard ListBox, then look into the SPLIT function.
-
Jul 31st, 2010, 09:52 AM
#3
Thread Starter
Lively Member
Re: ListBox editing
I managed to find it.
I'm extremely lazy. Sorry.
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
|