Hi,

can somebody show me how to add 5 lines to a listbox..if thiers anymore..it replaces the first line so all the rest get moved down.

line = line + 1
if line = < 5 then
frmtest.list1.additem , , "hello"
else
frmtest.list1.additem , , "i wanna start from the top"