Spread 8.0 Documentation
Click Event
Support Options
ActiveX Reference > ActiveX Events > Click Event

Glossary Item Box

Click Event


See Also

Applies To

fpSpread control

Description

Occurs when the user clicks a cell using the left mouse button.

Syntax

C++

afx_msg void OnClickfpSpread(UINT, int, CWnd*, LPVOID);

Visual Basic

Sub fpSpread_Click(ByVal Col As Long, ByVal Row As Long)

Parameters

The following parameters are available:

Parameter Description
Col Column number of cell the user clicked
Row Row number of cell the user clicked

Remarks

If you set the MoveActiveOnFocus property to False and you move focus back to the control by clicking the left mouse button, the Click event does not fire and the active cell does not move.

Use the SheetSendingEvent property if you want to return the sheet for which this event occurred.

See Also

MoveActiveOnFocus, SheetSendingEvent properties

DblClick, RightClick events

Copyright © GrapeCity, inc. All rights reserved.