of_setbarautoreset


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_statusbar   >   of_setbarautoreset   

Full name pfc_n_cst_winsrv_statusbar.of_setbarautoreset
Access public
Extend of integer
Return value integer
Prototype public function integer of_setbarautoreset(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setbarautoreset (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetBarAutoReset
//
//	Access:		Public
//
//	Arguments:	
//	ab_switch	True to have the progress bar reset itself out at 100%.
//	
//	Returns:		Integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Sets the flag to indicate the progress bar should reset itself out at 100%.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Check arguments.
If IsNull(ab_switch) Then
	Return -1
End If

// Set the flag.
ib_barautoreset = ab_switch

Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data