can I get some help creating a form for a calculator?
Printable View
can I get some help creating a form for a calculator?
Elaborate a tad more than that...
What do you need exactly? What have you created so far?
I have the code for the calculator. The calculator needs to look like the one in windows, the numbers 0 to 9,addition, subtraction, multipulcation, division, the plus key, the backspace key and the enter key must be displayed...I just don't how to create the form. When I tried to use the control array it was for the text boxes...that's what I have the example for. I would like the calculator to display with the buttons.
This is the easy part. I am assuming you can bring up a form. If not just open VB and choose open on standard.exe and that will pop open a form. Then on the toolbar on the left(by default) if you move the mouse cursor over the box that looks like a gray box it should say Command button. I would make all the buttons command buttons then each of those buttons I would jusy Change the captions to have it say 1 or whatever you need...
Get it?
Thanks for the help...I got a little dumb founded there.