|
of_register
|
|
Full name
|
pfc_u_calendar.of_register
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_register(string)
|
public function integer of_register (string as_dwcolumn);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Register
//
// Access: public
//
// Arguments:
// as_dwcolumn Column to register.
//
// Returns: Integer
// 1 if the column was added.
// 0 if the column was not added.
// -1 if an error is encountered.
//
// Description:
// Register the column which should be holding a date field.
// Columns need to be of editstyle 'ddlb', 'edit' or 'editmask'.
//
// *Note: For a column to be added it most have a field of type Date.
// *Note: Function is only valid when serving a DataWindow control.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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.
//
//////////////////////////////////////////////////////////////////////////////
// Use the NONE default.
Return of_Register(as_dwcolumn, NONE)
end function