JVCL Help:TJvCustomGraphicButton.Down

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

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies whether the button is selected (down) or unselected (up).


Pascal

 propertyDown: Boolean;


Description

Read Down to determine whether a button is selected. The Down property only applies if the GroupIndex property of the button is nonzero.
When GroupIndex is greater than 0, set Down to True to select a button. When the user clicks on a button in the unselected (up) state, the button is selected and Down is set to True. When the user clicks on a button in the selected (down) state, if AllowAllUp is True, the button becomes unselected and Down is set to False.
At design time, specify which button in a group is the initially selected button by setting the Down property of the selected button to True.


See Also

TJvCustomGraphicButton.AllowAllUp, TJvCustomGraphicButton.GroupIndex


About

Notes

When GroupIndex is 0, buttons do not remain in the selected state when clicked.


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