Condividi tramite


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

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

Events | CursorAdapter Object Properties, Methods, and Events | AfterCursorClose Event

Applies To: CursorAdapter Class