Id like to fill a listbox (BC++ 6) with the numbers 0 to n;
Its a graphical user interface and i cant seem to get it to work.
From what i figured out: ->Items->Add(i) adds a string i to the listbox but it doesnt wanna add more then 1.
I tried: something like this (pseudo code)
for(i=0; i <= n; i++)
Items->Add(i)
now im wondering how i can extend it to make it add more then jst one number.
ANyone have any clues??
Its a wrapper