Partilhar via


BeforeCursorClose Event

Occurs immediately before a cursor closes. You can use this event to perform any operations needed before closing a cursor or table, and so on.

PROCEDURE Object.BeforeCursorClose 
LPARAMETERS cAlias

Parameters

  • cAlias
    Specifies the alias of the cursor or table being closed.

Remarks

Applies To: CursorAdapter Class

If the code in BeforeCursorClose returns a value of False (.F.), the cursor does not close, and Visual FoxPro generates an error message.

See Also

Reference

CursorAdapter Object Properties, Methods, and Events
AfterCursorClose Event

Other Resources

Events (Visual FoxPro)