Welcome,
 Guest User.

  Click to Login   


 FarPoint HOME
 clubFarPoint HOME

SUPPORT
   Forum
   View Your Questions

RESOURCES
   Search
   Articles
   Product Docs
   FAQ
   Training Videos
   Feature Suggestions
   Subscriptions
   User Groups
   FarPoint Blog

DOWNLOAD
   Updates
   Trials

MY ACCOUNT
   Member Benefits
   MVP Status
   RSS Feeds
   Register Product
   View Products
   View Orders
   Order Now
   My Profile
   Product Profiles

   clubFarPoint Feedback...


There are 12 registered members online.


   

Articles
<< Return to Articles
Event Identifiers in Spread COM
Submitted By: Bill Albing, FarPoint Last Updated: 3/16/2006 11:17:44 AM
Level: Intermediate  
Product(s): Spread 7  
Language(s): Visual C++  
Description: While most users will find event IDs in the OCX part of the product easily with integrated tools, other developers lack the tools and would like to consult a list. This article lists the event IDs for Spread 7.  
 

To view a printable version of this article in a PDF viewer, click here for PDF.


Introduction

Here is a summary of the event identifiers (IDs) in Spread 7.0.


Event IDs

Event IDEvent NameEvent Description
1AdvanceOccurs when the user presses the Tab key or down arrow in the last cell, or Shift+Tab key or up arrow in the first cell.
2BlockSelectedOccurs when the user completes the selection of a block of cells.
3BtnClickedOccurs when the user clicks a button cell or check box cell.
4ChangeOccurs when the user modifies the contents of a cell and then leaves the cell.
5ClickOccurs when the user clicks a cell using the left mouse button.
6ColWidthChangeOccurs when the user changes the column width using the mouse.
7CustomFunctionOccurs when a custom function is evaluated in a cell’s formula.
9DataColConfigOccurs for each column in the spreadsheet as the spreadsheet is bound to a database.
10DataFillOccurs for each cell in the fpSpread control before it receives data from the database and before it writes data to the database, if the DataFillEvent property is set to True for the cell.
11DblClickOccurs when the user double-clicks the left mouse button while the pointer is in a cell.
12DragDropBlockOccurs when the user drags and drops a block of cells to a new location.
13DrawItemOccurs when the fpSpread control displays an owner-drawn cell.
14EditErrorOccurs when the user performs an invalid input operation.
15EditModeOccurs when the user enters or leaves edit mode in a cell.
16EnterRowOccurs when the operation mode is set to row mode and the focus moves to a new row.
17LeaveCellOccurs when the user moves the active cell from one cell to another, or moves the focus outside of the spreadsheet.
18LeaveRowOccurs when the operation mode is set to row mode and the focus moves to a new row.
19PrintAbortOccurs repeatedly when the spreadsheet is printing.
20QueryAdvanceOccurs when the user moves the focus to the next or previous control on the form.
21QueryDataOccurs when virtual mode is on and the fpSpread control requests additional data.
22RightClickOccurs when the user clicks a cell with the right mouse button.
23RowHeightChangeOccurs when the user changes the height of a row.
24SelChangeOccurs while the user is selecting a block of cells.
25TopLeftChangeOccurs when the displayed left column or top row changes.
26UserFormulaEnteredOccurs when the user types a formula.
27VirtualClearDataOccurs when the spreadsheet is in virtual mode and data in the virtual buffer needs to be discarded.
28PrintMsgBoxOccurs before the provided print abort dialog box is displayed and after the print job is complete.
29ComboCloseUpOccurs when the drop-down list portion of a combo box cell closes.
30ComboDropDownOccurs when the drop-down list portion of the combo box cell drops down.
31ComboSelChangeOccurs when the user changes the selection in a combo box cell.
32TextTipFetchOccurs when the control displays a text tip.
33EditChangeOccurs when a cell is in edit mode and the text changes in the cell.
     
34OLECompleDragOccurs at the OLE drag/drop source control after a manual or automatic drag/drop has been completed or canceled.
35OLEDragDropOccurs when data is dropped onto the control via an OLE drag/drop operation, and OLEDropMode is set to manual.
36OLEDragOverOccurs when the mouse is moved over the control during an OLE drag/drop operation, if its OLEDropMode property is set to manual.
37OLEGiveFeedbackOccurs at the source control of an OLE drag/drop operation when the mouse cursor needs to be changed.
38OLESetDataOccurs at the OLE drag/drop source control when the drop target requests data that was not provided to the DataObject during the OLEDragStart event.
39OLEStartDragOccurs when an OLE drag/drop operation is initiated either manually or automatically.
     
40BeforeUserSortOccurs before an AutoSort occurs when a sortable column header is clicked.
41AfterUserSortOccurs after an AutoSort occurs when a sortable column header is clicked.
     
45OLECompleteDragOccurs at the OLE drag/drop source control after a manual or automatic drag/drop has been completed or canceled.
46OLEDragDropOccurs when data is dropped onto the control via an OLE drag/drop operation, and OLEDropMode is set to manual.
47OLEDragOverOccurs when the mouse is moved over the control during an OLE drag/drop operation, if its OLEDropMode property is set to manual.
48OLEGiveFeedbackOccurs at the source control of an OLE drag/drop operation when the mouse cursor needs to be changed.
49OLESetDataOccurs at the OLE drag/drop source control when the drop target requests data that was not provided to the DataObject during the OLEDragStart event.
50OLEStartDragOccurs when an OLE drag/drop operation is initiated either manually or automatically.
     
101ScriptCustomFunctionOccurs when a custom function is evaluated in a cell’s formula.
102ScriptDataFillOccurs for each cell in the fpSpread control before it receives data from the database and before it writes data to the database, if the DataFillEvent property is set to True for the cell.
103ScriptDragDropBlockOccurs when the user drags and drops a block of cells to a new location.
104ScriptLeaveCellOccurs when the user moves the active cell from one cell to another, or moves the focus outside of the spreadsheet.
105ScriptLeaveRowOccurs when the operation mode is set to row mode and the focus moves to a new row.
106ScriptPrintAbortOccurs repeatedly when the spreadsheet is printing.
107ScriptQueryAdvanceOccurs when the user moves the focus to the next or prev
   

Subscribe to the RSS feed!RSS Subscribe


Click for Morrisville, North Carolina Forecast
 
Todays Trivia














FarPoint's Spread for Web Forms

     About Us | Contact UsComments & Suggestions | ©2008 FarPoint Technologies, Inc.