![]() |
|
#1
|
|||
|
|||
Building Postfix CalculatorHi, I'm building a "postfix" calculator for a comp. programming class, and I'm terrible stuck. I have the basic calculator put together, but some of the instructions for the code I am not able to understand. I was wondering if someone could help me. These are the instructions I'm having trouble with:
1. Update txtDisplay to show the current value of the Operand. 2. Modify the event handlers that handle Click events for btnEnter, btnAdd, btnSubtract, btnMultiply, btnDivide so that they update the new TextBox whenever the accumulator is updated. 3. Bring the focus back to txtDisplay using txtDisplay.focus() 4. Select all text in txtDisplay by using txtDisplay.SelectAll() 5. Whenever a button is clicked, the detail of the operation should be recorded in the ListBox. To implement these changes, review how to add a line into a ListBox and how to concatenate strings???? As you can see, I'm terrible confused, so help with any of all of these would be much, much appreciated. Thanks! |
|||
|
#2
|
|||
|
|||
Re: Building Postfix Calculator HelpThis is the code I have, btw.
VB / Visual Basic Code:
Last edited by LuciWiz : 12-Feb-2008 at 05:48.
Reason: Please insert your Visual Basic code between [vb] & [/vb] tags
|
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help, building this program idea | Falcone | C++ Forum | 12 | 07-Dec-2007 10:13 |
| How do I divi up "replies" into pages on a forum that I'm building? | compuXP | MySQL / PHP Forum | 3 | 14-Jul-2007 18:08 |
| Building Flash Gallery without programming – The solution | a2flash | Member Announcements, Advertisements & Offers | 0 | 13-Mar-2006 07:50 |
| infix to postfix | Kacyndra | C++ Forum | 2 | 15-Aug-2005 10:44 |
| "cannot convert from 'class X *' to 'class X'" ?? | hard2clone | C++ Forum | 11 | 04-Aug-2005 06:45 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The