Simple 4 function calculator: +, -, x, /

Discussion in 'Share Your Creations' started by pdablue, May 21, 2009.

  1. pdablue

    pdablue Active Member Licensed User

    Hi,

    Here is a simple 4 function (+, -, x, / ) calculator program.

    The first program example uses plain Button controls, which is
    quite boring visually.

    The second program example uses ImageButton controls to make it
    a little more visually interesting.

    To use the calculator:

    Enter the first number.
    Select the mathematical operation: ( +, -, x, / ).
    Enter the second number.
    Press the Equal key (=) to get the result.

    Press the CLR key to clear the calculator.
    Press the CE key to clear the last entry.

    The file "Calcpic.JPG" is a screenshot of the Button Control version.
    The file "Calcgpic.JPG" is a screenshot of the ImageButton Control version.
    The file "Calc2.sbp" is the B4ppc source for the Button Control version.
    The file "Calc7.sbp" is the B4ppc source for the ImageButton Control version.

    The file "calc2zip.zip" is the zipped up ARMV4 (.CAB) file for the Button
    control version.

    The file "calc7zip.zip" is the zipped up ARMV4 (.CAB) file for the ImageButton
    control version.

    The files: "CAL1apic.jpg", "CAL2apic.jpg", "CAL3apic.jpg", "CAL4apic.jpg", "CAL5apic.jpg" and
    "CAL6apic.jpg" are screenshots showing different button control arrangements.

    You can rearrange the controls to get a variety of different looks while the program
    code stays exactly the same. You can give each a different name to create a variety
    of different looking products while maintaining only one software program.
     

    Attached Files:

    Last edited: May 26, 2009
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice