# Getting listbox item value

**URL:** <https://forum.kirupa.com/t/getting-listbox-item-value/93487>\
**Category:** Uncategorized\
**Created:** [October 31, 2003, 5:05pm UTC](https://forum.kirupa.com/t/getting-listbox-item-value/93487 "2003-10-31T17:05:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chukzulu](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chukzulu](https://forum.kirupa.com/u/chukzulu)\
**Post date:** [October 31, 2003, 5:05pm UTC](https://forum.kirupa.com/t/getting-listbox-item-value/93487/1 "2003-10-31T17:05:02Z")

</div>

Folks,

Need some advice here.

I want to use a list box which will contain names of movies.

When one of the names in the listbox is clicked I would like it to change a movie in my container.

I got the whole container load/unload thing working using buttons, but I would like to use a srollable listbox as I have about 150 movies that will be in the list.

I just cant seem to figure out a way of getting the value of the item selected in the listbox and coverting this action into a command to change the movie in my container.

All answers greatly appreciated.

Cheers,

Chuk.😛 [http://www.geocities.com/mac\_1232000/](http://www.geocities.com/mac_1232000/)
