SftButton/OCX 2.5

SftButton.Click Event

Softel vdm, Inc.

The button is clicked.

Syntax       

VB.NET

Private Sub object_ClickEvent(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ClickEvent

VB

Private Sub object_Click()

C#.NET

void object_ClickEvent(object sender, EventArgumentType e);

VC++

void OnClickobject();

C

HRESULT OnClickobject();

Delphi

procedure objectClick(Sender: TObject);

object

A SftButton object.

Comments

The Click event occurs when the button is clicked, when the user presses the space bar while the control has the input focus or the user presses the appropriate accelerator key (Alt+key). This event may also occur if the button is defined as the default button and the user presses the ENTER key. Using properties such as the Pressed property does not cause this event to occur.

The ClickStyle property defines how the control responds to mouse clicks.

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, the ClickInterval property defines the interval between auto-repeat Click events.

If the user double-clicks the button, the DblClick event also occurs.

The DropDownClick event occurs when the drop down button is clicked.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com