I'm looking for a way to populate a listbox with the first line of a txt file (attached).
Now this might be the tricky part.
I have another listbox that have a list based off my txt files. I would like the ListBox2 to load based off the corresponding ListBox1 selection.
(dcl-ListBox-AddList Steel2D/Form1/ListBox1 (list "HM" "HN" "HW" "I" "HT" "TM" "TN" "TW" "C" "L" "CHS" "RHS" "SHS"))
For example, when I select "HM" in ListBox1 it will Load "HM.txt" (which is attached) into ListBox2.