|
of_setcontrolstatus
|
|
Full name
|
pfc_n_cst_security.of_setcontrolstatus
|
Access
|
protected
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
protected function integer of_setcontrolstatus(graphicobject,string,string)
|
protected function integer of_setcontrolstatus (graphicobject ago_item, string as_window, string as_object);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetControlStatus
//
// Access: protected
//
// Arguments :
// ago_item control to be set
// as_window : name of window that the control is on
// as_object : object that the control is on within the window
//
// Returns: Integer
// The number of controls set
// 0 = Nothing was set
// -1 = an error occurred
//
// Description: Figure out the kind of control that was passed and then
// set it's status as needed
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
// 6.0 Added new parameter (as_itemname) to support standalone objects
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// call overloaded function
Return of_SetControlStatus(ago_item, as_window, as_object, '')
end function