|
of_setmaximum
|
|
Full name
|
pfc_u_progressbar.of_setmaximum
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setmaximum(integer)
|
public function integer of_setmaximum (integer ai_maximum);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetMaximum
//
// Access: public
//
// Arguments:
// ai_maximum the maximum value the progress bar will increment to
//
// Returns: integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Sets the maximum value the progress bar will increment to
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_maximum) or (ai_maximum <= 0) then
return -1
end if
ii_maximum = ai_maximum
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|