Button Methods

AboutBox Method

Button.AboutBox()

The AboutBox method displays the About dialog.

Recalculate Method

Button.Recalculate()

The Recalculate method recalculates the control. This fires the Start, Exec, and Stop events. This method can be called from within events the control might listen for, such as the Click event. After the Button recalculates, any dependent expressions in the Mathcad worksheet will also update, if AutoCalculate is on.

SelectedButton Method

intRet = Button.SelectedButton()

The SelectedButton method returns the integer Button ID of the selected button in a radio button group. It has no meaning for other button types.