only allow user to select value 1 through 4 from listbox,textbox....?

I want to have the user select/input 6 values. They choose/enter 1,2,3, or 4.

I would like them stacked in a vertical fashion.

These values relate to a character string in a listbox

What is the best way to have these values lined up and limit the choices to 1,2,3, or 4?

Thank You

ex: (listbox on the left, value on the right)

_

| Some string | 1

| Some string | 1

| Some string | 4

| Some string | 3

| Some string | 2

| Some string | 1

--

[529 byte] By [OhioDale] at [2007-12-27]
# 1
use a multicolumn listview instead of a list box...put the string values in column1 and the integer values in column2
DMan1 at 2007-9-4 > top of Msdn Tech,Windows Forms,Windows Forms General...