|
of_unregister
|
|
Full name
|
pfc_n_cst_dwsrv_resize.of_unregister
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_unregister(dwobject)
|
Name
|
Datatype
|
ls_objname
|
string
|
public function integer of_unregister (dwobject adwo_control);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_UnRegister
//
// Access: public
//
// Arguments:
// as_control The control to unregister.
//
// Returns: integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Unregister a control that was previously registered.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
string ls_objname
// Validate the reference.
If IsNull(adwo_control) Then
Return -1
End If
ls_objname = adwo_control.Name
Return of_Unregister(ls_objname)
end function