|
of_findnext
|
|
Full name
|
pfc_n_cst_lvsrv.of_findnext
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_findnext(integer,direction)
|
public function integer of_findnext (integer ai_index, direction ad_direction);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_FindNext
//
// Access: public
//
// Arguments:
// ai_index The index of the ListView item to start from.
// FindItem uses (index + 1) to start the search
// ad_direction Direction in which to search the listview
// DirectionUp!, DirectionDown!, DirectionAll!, DirectionLeft!, DirectionRight!
//
// Returns: Integer
// the index of the next item found if successful
// -1 - an error occurred
//
// Description: Find the next item in the direction specified in the ListView
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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.
//
//////////////////////////////////////////////////////////////////////////////
// check the arguments
If Not IsValid(ilv_requestor) Then Return -1
If IsNull(ai_index) or (ai_index < 0) then return -1
// Find the next item
Return ilv_requestor.FindItem(ai_index, ad_direction, False, False, False, False)
end function
Name
|
Owner
|
listview.finditem |
listview
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|