|
of_SetColor
|
|
Full name
|
pfc_n_cst_dssrv_report.of_SetColor
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_SetColor(long,long,string,string)
|
public function string of_SetColor (long al_color, long al_backcolor, string as_name, string as_band);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetColor
//
// Access: public
//
// Arguments:
// al_Color The new color. If Null is passed, it will not be changed.
// al_BackColor The new background color. If Null is passed, it will not
// be changed.
// as_Name The name of the object to change, "*" will cause all
// objects in the band to be changed.
// as_Band The band in which to change the objecs, "*" will call
// the entire datawindow to be changed. This argument is
// ignored if a name is passed in as_Name.
//
// Returns: String
// The output of the Modify command (the error text or "") if True
// was passed for ab_Execute; the text of the Modify command
// to add the object if False was passed.
//
// Description: Change the color and background color (if applicable) of an object
// in the datawindow.
//
// This function overloads the real of_SetColor to allow parameters
// to be optional.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////
Return of_SetColor(al_Color, al_BackColor, as_Name, as_Band, True)
end function