of_getcurrentsort


pfcmain.pbl   >   pfc_u_lv   >   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)

Name Datatype
No Data

Name Datatype
No Data

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

     
Name Owner
No Data

     
Name Owner
No Data

     
Full name
No Data

     
Name Scope
No Data