Occurs immediately after a cursor closes. You can use this event to reset CursorAdapter properties and so on.
PROCEDURE Object.AfterCursorClose LPARAMETERS cAlias, lResult
- Specifies the alias of the closed cursor or table.
- Specifies True (.T.) if cursor or table closes successfully and False (.F.) if not closed successfully, for example, cursor contained unsaved changes.
Applies To: CursorAdapter Class
You must clear or reset the Alias property if you wish to remove its previous value. When an extended cursor closes, Visual FoxPro marks the CursorAdapter object as no longer attached to a cursor but does not clear the Alias property.