ComboCloseUp Event
Applies To
fpSpread control
Description
Occurs when the drop-down list portion of a combo box cell closes.
Syntax
C++
afx_msg void OnComboCloseUpfpSpread(UINT, int, CWnd*, LPVOID);
Visual Basic
Sub fpSpread_ComboCloseUp(ByVal Col As Long, ByVal Row As Long, ByVal SelChange As Integer)
Parameters
The following parameters are available:
Parameter | Description |
---|---|
Col | Column number of the cell containing the combo box |
Row | Row number of the cell containing the combo box |
SelChange | Row number of new item selected Returns a –1 if the user selected the same item as was previously selected |
Remarks
When the user selects an item, the list portion of the combo box cell closes and the ComboCloseUp event occurs. You can use the ComboCloseUp event to make changes to a list (such as adding or removing items) after the user has selected an item.
Use the SheetSendingEvent property if you want to return the sheet for which this event occured.
See Also
SheetSendingEvent property
ComboDropDown, ComboSelChange events