|
|
|
SftButton.ClickStyle Property |
Defines how the control responds to mouse clicks.
Syntax
VB.NET |
Style = object.ClickStyle As SftButtonClickStyleConstants |
||
VB |
Style = object.ClickStyle As SftButtonClickStyleConstants |
||
C#.NET |
SftButtonClickStyleConstants Style = object.ClickStyle; |
||
VC++ |
enum SftButtonClickStyleConstants Style = object->ClickStyle;
|
||
C |
HRESULT object->get_ClickStyle(enum SftButtonClickStyleConstants* Style); |
||
Delphi |
Style := object.ClickStyle : TOleEnum; |
||
VB.NET |
object.ClickStyle = Style As SftButtonClickStyleConstants |
||
VB |
object.ClickStyle = Style As SftButtonClickStyleConstants |
||
C#.NET |
SftButtonClickStyleConstants object.ClickStyle = Style; |
||
VC++ |
enum SftButtonClickStyleConstants object->ClickStyle = Style;
|
||
C |
HRESULT object->put_ClickStyle(enum SftButtonClickStyleConstants Style); |
||
Delphi |
object.ClickStyle := Style : TOleEnum; |
object
A SftButton object.
Style
Defines how the control responds to mouse clicks.
Name |
Value |
Description |
clickstyleSftButtonControl |
0 |
Control - The Click event occurs when the left mouse button is pressed anywhere on the control. |
clickstyleSftButtonExact |
1 |
Exact (Pictures or Text) - The Click event occurs when the left mouse button is pressed on a graphics or text component of the control. |
clickstyleSftButtonPictures |
2 |
Pictures Only - The Click event occurs when the left mouse button is pressed on a graphics component of the control. |
clickstyleSftButtonText |
3 |
Text Only - The Click event occurs when the left mouse button is pressed on a text component of the control. |
Comments
The ClickStyle property defines how the control responds to mouse clicks.
Limiting the Click event using the ClickStyle property is most useful when the ButtonStyle property is set to styleSftButtonNone and only text or graphics components are visible.