Home About us Development Training Support |
Calculator
Controlling the CalculatorDisplaying the calculator is a simple matter of making its window visible:
Activate Window
'calculator'
You can hide the calculator by using Hide Window or Release Window or you can allow the user to close it. The calculator values are stored as FoxPro system variables:
_CALCVALUE
&& Value
_CALCMEM && Memory Both these memory variables are Read/Write so you can make the calculator appear with default values in its display and in its memory and then read these back to see whether the user has overridden them. Like the Calendar, the Calculator tool has been available in FoxPro since version 2.00. |
Hints & tips
The textbox class in Visual FoxPro 9 has a new Autocomplete
property which shows the user the previous values that have
been entered in that textbox.
More...
|