I could not find “AddItem” in the generated code.
AddItem isn't something generated automatically (technically it is but it isn't
implemented automatically).
AddItem is a
SUB that is called in the BAS code to put a new item in the list box. In whatever event you like, use
AddItem.
I am not sure .. do I add the items at design time or do I load them at run time ?
I prefer to add them at run time because I don't like having to edit the form in the editor just to add more stuff. I'd rather just have a list either stored somewhere in a file or read in data from some other external source and add my items then. It's personal preference but the simplest way is to add them at run time.
I cannot see any Value property on the design screen.
As for the value, you can obtain the value of the selected item following the instructions in Fellippe's Wiki:
At run time, you can read which item is currently selected by reading the Value property:
theItem% = Control(ControlID).Value
DesiredItem$ = GetItem$(ControlID, theItem%)
Whereas ControlID would be the name of whatever you named your list box.