top of page

45. Pop-up Calculator on a Dialog Box


How to create a "calculator" button on a dialog box that pops up a calculator.


Windows 95/98:


Windows NT/2000:



In the Additional Text window of the dialog, type the line of code appropriate to your operating system. In the above examples, the text "Calculator" is what will appear on the button. You may alter it. Click this line of code and drag it up onto the list of the dialog's variables, and drop it in the position where you want it to appear on the dialog. Click the TEST button, and you should see a button called "Calculator". When clicked, this button should launch the Windows calculator. Note that the calculator's results can be copied and then pasted into a HotDocs field.

bottom of page