[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Is this button Down (i.e. has it been selected)? Default false.
Source position: comctrls.pp line 2163
published property TToolButton.Down : Boolean |
Down is a Boolean property which indicates if the tool button is in a "pressed" or "down" state. The default value for the property is False.
When the value for the property is changed to True in a check-box button (Style = tbsCheck), other buttons on the parent tool bar are also updated. Adjacent buttons with their Grouped property set to True are checked to ensure that their Down property is set to False. The button(s) are redrawn if their Down property was changed. The ToolButtonDown method in the parent tool bar is called to set the button state in the tool bar to the new property value. The button and the tool bar are redrawn following the change.
lazarus-ccr.sourceforge.net |