|
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)
|
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