Advance Event
Applies To
fpSpread control
Description
Occurs when the user performs one of the following actions:
- Presses the Tab key when the focus is in the last cell
- Presses Shift+Tab when the focus is in the first cell
- Presses the down arrow key when the focus is in the last row
- Presses the up arrow key when the focus is in the first row
Syntax
C++
afx_msg void OnAdvancefpSpread(UINT, int, CWnd*, LPVOID);
Visual Basic
Sub fpSpread_Advance(ByVal AdvanceNext As Boolean)
Parameter
The following parameter is available:
Parameter | Description |
---|---|
AdvanceNext | Specifies whether the user is moving to the next control or the previous control |
Remarks
You must set the ProcessTab property to True for the Advance event to occur when the user presses the Tab key or Shift+Tab.
If the AdvanceNext parameter is True, the user pressed the Tab or down arrow key. If it is False, the user pressed Shift+Tab or the up arrow key.
See Also
ProcessTab property