JVCL Help:TJvXPButton.Default

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Determines whether the button’s OnClick event handler executes when the Enter key is pressed.


Pascal

 propertyDefault: Boolean;


Description

If Default is True, the button’s OnClick event handler executes when the user presses Enter. Although an application can have more than one Default button, the form calls the OnClick event handler only for the first visible button in the tab order. Moreover, any button that has focus becomes the Default button temporarily; hence, if the user selects another button before pressing Enter, the selected button’s OnClick event handler executes instead.


See Also

TJvXPCustomButton.Cancel


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page