|
-
Apr 22nd, 2007, 06:31 AM
#1
Thread Starter
Junior Member
[RESOLVED][2005] 1 textbox multiple inputs
I'm creating a program, 1 textbox, and 2 buttons,and a listbox, so everytime I enter a number into the textbox i have to click a button, then another buton computes the average, the problem i'm having is imputing multiple numbers in one textbox, eneter number, press button, txtbox clears, and so one, i need to do that 3 times
Resolved by using multiple variables.
Last edited by peterdfl; Apr 22nd, 2007 at 09:48 AM.
-
Apr 22nd, 2007, 09:19 AM
#2
Re: 1 textbox multiple inputs
Does the listbox store the numbers?
Not that it's so important but create an array or use a List(of Integer) or whatever variable is appropriate.
Assign the current number in the textbox to the current index and then clear the textbox.
What have you done so far?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|