|
of_getcurrentsort
|
|
Full name
|
pfc_u_lv.of_getcurrentsort
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getcurrentsort(ref integer,ref grsorttype)
|
public function integer of_getcurrentsort (ref integer ai_column, ref grsorttype agrs_type);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetCurrentSort
//
// Access: public
//
// Arguments:
// ai_Column The number of the column that the ListView is currently
// sorted by.
// agrs_Type The type of sort (Ascending!, Descending!).
//
// Returns: integer
// 1 = listview has been sorted
// 0 = listview has not been sorted
//
// Description: Get the column number and sort type for the current sort.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
If ii_CurrentSortCol = 0 Then Return 0
ai_Column = ii_CurrentSortCol
agrs_Type = ie_CurrentSort
Return 1
end function