[Migrated content. Thread originally posted on 11 May 2012]The following code doesn't seem to display my listbox contents after performing it. What am I missing?
method-id LBox_Button_Click final private.
01 my-listbox type System.Windows.Forms.ListBox.
01 companyName type String.
procedure division using by value sender as object e as type System.EventArgs.
set my-listbox to new System.Windows.Forms.ListBox
move "Fred" to companyName