|
of_ShiftBand
|
|
Full name
|
pfc_n_cst_dwsrv_report.of_ShiftBand
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_ShiftBand(string,integer,integer)
|
public function string of_ShiftBand (string as_band, integer ai_xunits, integer ai_yunits);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_ShiftBand
//
// Access: public
//
// Arguments:
// as_Band The band to shift, pass "*" to shift the entire datawindow.
// ai_XUnits The number of horizontal units to shift the objects right,
// pass a negative number to shift left.
// ai_YUnits The number of vertical units to shift the objects down,
// pass a negative number to shift up.
//
// 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. Or the following error:
// "Error! Invalid DataWindow Shift" - Attempted to shift the object beyond
// the top or left side of the page (X or
// Y became negative)
//
// Description: Shift the objects in the given band of the datawindow horizontally
// or vertically a specified number of units.
//
// This function overloads the real of_ShiftBand to allow the last
// parameter 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_ShiftBand(as_Band, ai_XUnits, ai_YUnits, True)
end function