of_setstep


pfcmain.pbl   >   pfc_u_progressbar   >   of_setstep   

Full name pfc_u_progressbar.of_setstep
Access public
Extend of integer
Return value integer
Prototype public function integer of_setstep(integer)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setstep (integer ai_step);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetStep
//
//	Access:		public
//
//	Arguments:	
//	ai_step	the step value the progress bar will increment by
//
//	Returns:		integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Sets the step value the progress bar will increment by
//
//////////////////////////////////////////////////////////////////////////////
//
//	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_step) or (ai_step <= 0) then
	return -1
end if

ii_step = ai_step

return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data