>>I tried to use a calculator form UT files archieve calculator.zip >> >>When I enter >> >>1 + 2 + 3 >> >>into this calculator, it shows result wrong result: 5 >> >>i.e this calculator requires pressing Enter after 1 + 2 >> >>This is not a standard behaviour of calculators. >> >>Is it possible to fix it or use some other calculator >>written in FoxPro which works corretly? > >The calculator.zip I found had source in it for the VCX and SCX, so I'd guess you could make it work however you'd like...
I think this is a "must be" feature for calculator and hope that this is implemented by someone.
I already fixed this calculator (for example SET POINT TO other than point causes this calculator to stop working in its present form) but I don't want no more to re-invent the wheel.
Is there a such fox calculator available in the net or have somebody modified this calculator?
I used some years for selection ACTIVATE WINDOWS CALCULATOR in vfp form with timer (thank to Paul Vlad Tanavu, also some sample code in DF website).
Currently, users require that Ctrl+Enter selects value and closes form. however, it seems that keystrokes cannot be trapped in foxpro standard calculator. Standard calculator also causes numeric overflow during calculations: a documented vfp bug.