of_setbarwidth


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_statusbar   >   of_setbarwidth   

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

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setbarwidth (integer ai_width);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetBarWidth
//
//	Access:		Public
//
//	Arguments:
//	ai_width		The new Width.
//	
//	Returns:		Integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Sets a new bar Width value.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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_width) or ai_width < 0 Then
	Return -1
End If

// Update the object width, if already registered.
of_UpdatePreDefined('pfc_progress', ai_width)

Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
pfc_n_cst_winsrv_statusbar.of_updatepredefined pfc_n_cst_winsrv_statusbar

     
Full name
No Data

     
Name Scope
No Data