|
of_setbartextcolor
|
|
Full name
|
pfc_n_cst_winsrv_statusbar.of_setbartextcolor
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setbartextcolor(long)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_setbartextcolor (long al_textcolor);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetBarTextColor
//
// Access: public
//
// Arguments:
// al_textcolor color the progress bar text will display
//
// Returns: integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Set the color the progress bar text
//
//////////////////////////////////////////////////////////////////////////////
//
// 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
if isnull(al_textcolor) or (al_textcolor < 0) then
return -1
end if
il_bartextcolor = al_textcolor
// Notify the GUI of the change.
If IsValid(iw_statusbar) Then
li_rc = iw_statusbar.of_CreateVisuals()
End If
Return li_rc
end function