|
of_setitemcount
|
|
Full name
|
pfc_n_cst_mru.of_setitemcount
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setitemcount(integer)
|
public function integer of_setitemcount (integer ai_count);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetItemCount
//
// Access: public
//
// Arguments:
// ai_count The count of items to maintain for the mru service
//
// Returns: integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Sets the # of menu items the MRU service will use
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
If IsNull(ai_count) or (ai_count <= 0) Then
Return -1
End If
ii_mruitemcount = ai_count
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|