How to populate the listbox for LotusScript

Greetings,I want to show the data for the listbox in a dialog form.

then, I will create a hiden listbox in the message form, when I click the send button I will populate the data to the hiden listbox and Notesuidocument.refresh, but no data in the hiden listbox.

the code:

Set myitem = doc.GetFirstItem( “mylist” )

Msgbox myitem.Name &" name"



myitem.AppendToTextList("a")

myitem.AppendToTextList("b")

myitem.AppendToTextList("c")



If myitem.contains("a") Then

	Messagebox( "a" + "  entry already exists. Will not be added.")///It worked 

End If

Call Source.Refresh

Call uidoc.Refresh

I think I shoud miss something.

thanks for your help

Tyki