Components?

how do you get variables from components such as a list box etc??

Im trying

days.text=getValue(day);

could someone please help me as I cant seem to find it in the help files???

many thanks