|
of_barincrement
|
|
Full name
|
pfc_n_cst_winsrv_statusbar.of_barincrement
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_barincrement(integer)
|
public function integer of_barincrement (integer ai_inc);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_BarIncrement
//
// Access: Public
//
// Arguments:
// ai_inc the value to increment the progress bar.
//
// Returns: integer
// the new position of the progress bar
//
// Description:
// Increments the progress bar by ai_inc
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1999 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 (ai_inc <= 0) or isnull(ai_inc) then
return -1
end if
// increment the position i = i+inc
ii_barposition += ai_inc
// display the change on the progress bar
return of_setbarposition(ii_barposition)
end function