Quantcast
Channel: Ordered List in a Textbox
Viewing all articles
Browse latest Browse all 6

Ordered List in a Textbox

$
0
0
Below is the code to place 50 items in a Textbox/Listbox  in the Listbox the items show 1 - 50 but in the Textbox they show 50 - 1
I know why it's doing this but how do I reverse it to show 1 - 50 same as the Listbox?

For i = 1 To 50
            TextBox1.Text = (i.ToString & ")  " & (arrNumber(i))) & vbCrLf & TextBox1.Text
            ListBox1.Items.Add(i.ToString & ")  " & (arrNumber(i)))
Next


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>