_calcvalue and _calcmem have nothing to do with the WIndows calculator, but rather the VFP calculator. ACTIVATE WINDOW CALCULATOR. It's not modal and you can't make it modal. If you want a modal calculator, you'll have to create your own.
>I am confused about the Windows calculator. I would like to employ it to return a result back to a text box that had focus before the calculator was invoked. I believe I want to use the dblclick method to invoke the calculator. Where I am confused is that the window that pops up is not modal. I want the window to close and be able to populate the value property of the text box that had focus. So what event takes place when I close the window?
>
>To me, the VFP explanation was too vague for _calvalue and _calcmem.
>
>Thank you in advance.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer