Wide Studio Programmer's Guide

Wide Studio Home
Up to


Sample:4 (A calculator)

This is a demonstration of calcurator using by the array of the buttons.
The source code is ws/samples/EE/labelwork/wscalc.prj. Please load it and build it by the application builder.
this sample shows the following things.
  • To demonstrate calicurating with the operator:+,-,/,*
    (Notice)The specification of the calicurator is not strict.



[A view of the application window]

  • The number button
    Input the number to the indicator.
  • The operator button
    Stores the operator if the button is "+","-","/","*", Calculates by the stored information if the button is "=",
  • The other
    The resize event procedure adjusts size/place of the buttons when the window is resized.

Document Release 3.0

For Use with Wide Studio Release 3.0, Summer 2002


Wide Stuido Home | Up to

Copyright(C) T. Hirabayashi, 2000-2002 Last modified: June 20, 2002