of_barincrement


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_statusbar   >   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)

Name Datatype
No Data

Name Datatype
No Data

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

     
Name Owner
pfc_n_cst_winsrv_statusbar.of_barincrement pfc_n_cst_winsrv_statusbar

     
Name Owner
systemfunctions.isnull systemfunctions
pfc_n_cst_winsrv_statusbar.of_setbarposition pfc_n_cst_winsrv_statusbar

     
Full name
No Data

     
Name Scope
No Data