
03-06-2003, 07:48 AM
|
 |
Freshman
|
|
Join Date: Dec 2002
Location: Mechanicsburg, PA, USA
Posts: 41
|
|
getting data from a listbox control...
|
I know this is probably something that's insanely easy.. but I can't seem to figure it out for the life of me! see... I need to set a string equal to a certain member of a listbox control. For example... say I have the following values in my listbox, named list1:
this
is
my
program
how would I set a string... say, strtemp, to be equal to "my", the third item of the listbox control?
now... I was thinking it would be something like...
strtemp = list1.datamember(3), but that isn't working :-/ anyone have any idea how this can be done correctly?
|
|