DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   How Can Listbox item displayed like "a,b,c,d" (http://www.daniweb.com/forums/thread135735.html)

arun_kumar112 Jul 21st, 2008 8:46 am
How Can Listbox item displayed like "a,b,c,d"
 
Hi All,
I am new programmer,

I have to create list of item which are selected from list box .
It should be displayed like " a,b,c,d,e,f " How can I do ? it can be in a string or numeric .
only selected Item is required to display displayed"
Not All

Thank

FaridMasood Jul 21st, 2008 9:09 am
Re: How Can Listbox item displayed like "a,b,c,d"
 
Please clerify your scenerio, then i will be able to help you?

selvaganapathy Jul 21st, 2008 11:06 am
Re: How Can Listbox item displayed like "a,b,c,d"
 
Quote:

Originally Posted by arun_kumar112 (Post 652346)
Hi All,
I am new programmer,

I have to create list of item which are selected from list box .
It should be displayed like " a,b,c,d,e,f " How can I do ? it can be in a string or numeric .
only selected Item is required to display displayed"
Not All

Thank



Hi Arun,
> Scan all the items in the listbox to get the selected items
> To get selected Items in ListBox use Selected(i) Property. It returns true if it is selected and Use List(i) property to get the i th Item.


All times are GMT -4. The time now is 2:51 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC