![]() |
![]() ![]() ![]() |
acCaptionButton component and other components that uses TacCustomCaptionButton as ancestor class - acAppAutoRun, acTrayIcon, acFormHelp, acFormTopmost, acFormRoller.
|
property AllowPress: Boolean;
|
The AllowPress property controls whether CaptionButton could be pressed (if button pressed, Down property will be True).
|
|
If AllowPress is True, the button will have two states - pressed and unpressed (up and down state), which can be controlled by Down property. Also two additional events will occurs - OnPressed on button pressing and OnReleased on releasing.
|
Down property and OnClick, OnPressed, OnReleased events.
|