SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the auto-repeat interval between Click events while the button is pressed.
Get
| VB.NET | Interval = object.ClickInterval As Integer |
| VB | Interval = object.ClickInterval As Long |
| C#.NET | int Interval = object.ClickInterval; |
| VC++ | long Interval = object->ClickInterval; long Interval = object->GetClickInterval(); |
| C | HRESULT object->get_ClickInterval(long* Interval); |
Put
| VB.NET | object.ClickInterval = Interval As Integer |
| VB | object.ClickInterval = Interval As Long |
| C#.NET | int object.ClickInterval = Interval; |
| VC++ | long object->ClickInterval = Interval; void object->PutClickInterval(long Interval); |
| C | HRESULT object->put_ClickInterval(long Interval); |
object
Interval
Defines the auto-repeat interval between Click events while the button is pressed. If 0 is specified, auto-repeat of the Click event is not available. Interval can be between 0 and 10000.
The ClickInterval property defines the auto-repeat interval between Click events while the button is pressed.
The Click event is generated when the user releases the mouse button after clicking on the button using the left mouse button. If the user does not release the mouse button immediately, Click events are generated every Interval milliseconds.
AxSftButton1.ShowFocus = True
AxSftButton1.Text = "Code Sample"
AxSftButton1.TextAlignHorz = SftButtonAlignConstants.alignSftButtonCenter
AxSftButton1.TextAlignVert = SftButtonAlignVertConstants.alignSftButtonVCenter
AxSftButton1.UseThemes = SftButtonThemesConstants.themesSftButtonNo
' Behavior
AxSftButton1.AllowFocus = True
AxSftButton1.Bounce = SftButtonBounceStyleConstants.bounceSftButtonYes
AxSftButton1.ClickInterval = 100
AxSftButton1.DropDownDownClick = True
AxSftButton1.DropDownFollows = False
AxSftButton1.DropDownPressed = False
AxSftButton1.DropDownToggle = False
AxSftButton1.Enabled = True
AxSftButton1.Follows = False
AxSftButton1.OLEDragMode = SftButtonOLEDragModeConstants.OLEDragSftButtonNone
SftButton1.ShowFocus = True
SftButton1.Text = "Code Sample"
SftButton1.TextAlignHorz = alignSftButtonCenter
SftButton1.TextAlignVert = alignSftButtonVCenter
SftButton1.UseThemes = themesSftButtonNo
' Behavior
SftButton1.AllowFocus = True
SftButton1.Bounce = bounceSftButtonYes
SftButton1.ClickInterval = 100
SftButton1.DropDownDownClick = True
SftButton1.DropDownFollows = False
SftButton1.DropDownPressed = False
SftButton1.DropDownToggle = False
SftButton1.Enabled = True
SftButton1.Follows = False
SftButton1.OLEDragMode = OLEDragSftButtonNone
axSftButton1.ShowFocus = true;
axSftButton1.Text = "Code Sample";
axSftButton1.TextAlignHorz = SftButtonAlignConstants.alignSftButtonCenter;
axSftButton1.TextAlignVert = SftButtonAlignVertConstants.alignSftButtonVCenter;
axSftButton1.UseThemes = SftButtonThemesConstants.themesSftButtonNo;
// Behavior
axSftButton1.AllowFocus = true;
axSftButton1.Bounce = SftButtonBounceStyleConstants.bounceSftButtonYes;
axSftButton1.ClickInterval = 100;
axSftButton1.DropDownDownClick = true;
axSftButton1.DropDownFollows = false;
axSftButton1.DropDownPressed = false;
axSftButton1.DropDownToggle = false;
axSftButton1.Enabled = true;
axSftButton1.Follows = false;
axSftButton1.OLEDragMode = SftButtonOLEDragModeConstants.OLEDragSftButtonNone;
m_vButton->put_ShowFocus(VARIANT_TRUE);
m_vButton->put_Text(_bstr_t(_T("Code Sample")));
m_vButton->put_TextAlignHorz(alignSftButtonCenter);
m_vButton->put_TextAlignVert(alignSftButtonVCenter);
m_vButton->put_UseThemes(themesSftButtonNo);
// Behavior
m_vButton->put_AllowFocus(VARIANT_TRUE);
m_vButton->put_Bounce(bounceSftButtonYes);
m_vButton->put_ClickInterval(100);
m_vButton->put_DropDownDownClick(VARIANT_TRUE);
m_vButton->put_DropDownFollows(VARIANT_FALSE);
m_vButton->put_DropDownPressed(VARIANT_FALSE);
m_vButton->put_DropDownToggle(VARIANT_FALSE);
m_vButton->put_Enabled(VARIANT_TRUE);
m_vButton->put_Follows(VARIANT_FALSE);
m_vButton->put_OLEDragMode(OLEDragSftButtonNone);See Also SftButton Object | Object Hierarchy
