of_setbardisplaystyle


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_statusbar   >   of_setbardisplaystyle   

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

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setbardisplaystyle (integer ai_displaystyle);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetBarDisplayStyle
//
//	Access:  	Public
//
//	Arguments:
//	ai_style		display style of the progress bar.
//	
//	Returns:	Integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Set the display style of the progress bar.
// display style
//		BAR = 0
//		PCTCOMPLETE = 1
//		POSITION = 2
//
//////////////////////////////////////////////////////////////////////////////
//
//	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(ai_displaystyle) Then
	Return -1
End If

if NOT ((ai_displaystyle = BAR) or (ai_displaystyle = PCTCOMPLETE) or &
			(ai_displaystyle = POSITION)) then 
	return -1
end if

ii_bardisplaystyle = ai_displaystyle

Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data