of_setminimum


pfcmain.pbl   >   pfc_u_progressbar   >   of_setminimum   

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

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setminimum (integer ai_minimum);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetMinimum
//
//	Access:		public
//
//	Arguments:	
//	ai_minimum	the minimum value the progress bar will start from
//
//	Returns:		integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Sets the minimum value the progress bar will start from
//
//////////////////////////////////////////////////////////////////////////////
//
//	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_minimum) or (ai_minimum < 0) then
	return -1
end if

ii_minimum = ai_minimum

return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data