I want to create an application that:
is a form with a text box and a label

the text box recieves numeric input (values 1-20)

then upon pressing the enter key on the key board
the text in the text box populates a dynamic array, and if the
value is already there the label displays the value that was
entered (the duplicate value).

I know how to set up the GUI but I don't know how to make this work right. Please help as soon as you can. I have a deadline of 6pm Monday July 19th that I have to meet.

any help is appreciated.