Freigeben über


AfterCursorFill Event

Occurs immediately after a CursorAdapter object attempts to create a new cursor.

PROCEDURE Object.AfterCursorFill
LPARAMETERS lUseCursorSchema, lnoDataOnLoad, cSelectCmd, lResult

Parameters

  • lUseCursorSchema
    Specifies the value in the lUseCursorSchema parameter from the CursorFill method.
  • lnoDataOnLoad
    Specifies the value in the lNoData parameter from CursorFill.
  • cSelectCmd
    Specifies the same SelectCmd parameter used by the BeforeCursorFill event.
  • lResult
    Specifies the True (.T.) or False (.F.) value returned by CursorFill.

Remarks

If any of the first three parameters are changed in BeforeCursorFill, AfterCursorFill uses the changed values instead of actual values in the properties, which do not change.

Example

The following example illustrates using the AfterCursorFill event to set the index order from a preset property:

PROCEDURE AfterCursorFill
LPARAMETERS lUseCursorSchema, noDataOnLoad, cSelectCmd, lResult
SELECT(this.Alias)
SET ORDER TO (this.IndexOrder)
ENDPROC

See Also

Events | CursorAdapter Object Properties, Methods, and Events | CursorFill Method | SelectCmd Property | AfterCursorFill Event | BeforeCursorFill Event

Applies To: CursorAdapter Class