|
of_setbarfillcolor
|
|
Full name
|
pfc_n_cst_winsrv_statusbar.of_setbarfillcolor
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setbarfillcolor(long)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_setbarfillcolor (long al_color);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetBarFillColor
//
// Access: Public
//
// Arguments:
// al_color The new color value of the bar.
//
// Returns: Integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Sets a new color value of the bar.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc
// Check arguments.
If IsNull(al_color) or al_color < 0 Then
Return -1
End If
il_barfillcolor = al_color
// Notify the GUI of the change.
If IsValid(iw_statusbar) Then
li_rc = iw_statusbar.of_CreateVisuals()
End If
Return li_rc
end function