Prado\Web\UI\WebControls\TPanel::setDefaultButton PHP Method

setDefaultButton() public method

The default button will be fired (clicked) whenever a user enters 'return' key within the panel. The button must be locatable via the function call {@link TControl::findControl findControl}.
public setDefaultButton ( $value )
    public function setDefaultButton($value)
    {
        $this->_defaultButton = $value;
    }