Spread 8.0 Documentation
AfterUserSort Event
Support Options
ActiveX Reference > ActiveX Events > AfterUserSort Event

Glossary Item Box

AfterUserSort Event


See Also

Applies To

fpSpread control

Description

Occurs after one of the following occurs:

and the UserColAction property is set to 1 (Sort) or 2 (SortNoIndicator) and the data is sorted.

Syntax

C++

afx_msg void OnAfterUserSortfpSpread(UINT, int, CWnd*, LPVOID);

Visual Basic

Event fpSpread_AfterUserSort(ByVal Col As Long)

Parameters

The following parameter is available:

Parameter Description
Col Column on which sort occurred

Remarks

Before the sort occurred, the BeforeUserSort or ScriptBeforeUserSort event occurred.

If the ColUserSortIndicator property is set to 3 (Disabled) or if the UserColAction property is set to 0 (Default), this event does not occur.

Use the SheetSendingEvent property if you want to return the sheet for which this event occured.

See Also

Allowing Users To Sort By Columns

ColUserSortIndicator, SheetSendingEvent, UserColAction properties

BeforeUserSort, ScriptBeforeUserSort events

Copyright © GrapeCity, inc. All rights reserved.