|
|
|
SftButton.Bounce Property |
Defines the control's visual response to a mouse click.
Syntax
VB.NET |
Style = object.Bounce As SftButtonBounceStyleConstants |
||
VB |
Style = object.Bounce As SftButtonBounceStyleConstants |
||
C#.NET |
SftButtonBounceStyleConstants Style = object.Bounce; |
||
VC++ |
enum SftButtonBounceStyleConstants Style = object->Bounce;
|
||
C |
HRESULT object->get_Bounce(enum SftButtonBounceStyleConstants* Style); |
||
Delphi |
Style := object.Bounce : TOleEnum; |
||
VB.NET |
object.Bounce = Style As SftButtonBounceStyleConstants |
||
VB |
object.Bounce = Style As SftButtonBounceStyleConstants |
||
C#.NET |
SftButtonBounceStyleConstants object.Bounce = Style; |
||
VC++ |
enum SftButtonBounceStyleConstants object->Bounce = Style;
|
||
C |
HRESULT object->put_Bounce(enum SftButtonBounceStyleConstants Style); |
||
Delphi |
object.Bounce := Style : TOleEnum; |
object
A SftButton object.
Style
Defines the control's visual response to a mouse click.
Name |
Value |
Description |
0 |
Default - If Windows themes are in effect, bounceSftButtonNo applies. Otherwise, without Windows themes, bounceSftButtonYes applies. |
|
1 |
Yes - The control reflects the mouse click by painting the control contents offset by one pixel while the mouse button is pressed. |
|
2 |
No - A mouse click does not cause the control contents to be repainted. |
Comments
The Bounce property defines the control's visual response to a mouse click.
The graphics components also reflect mouse clicks using the Image1Pressed and Image2Pressed properties (if defined).
The Bounce property does not apply to the drop down button.