|
of_setparent
|
|
Full name
|
pfc_m_view.of_setparent
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setparent(listview)
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_setparent (listview alv_parent);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetParent
//
// Access: Public
//
// Arguments:
// alv_parent: ListView
//
// Returns: integer
// 1 = success
// -1 = error
//
// Description: Establishes a listview reference for the menu
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_rc
if IsValid (alv_parent) then
ilv_parent = alv_parent
li_rc = 1
else
li_rc = -1
end if
return li_rc
end function
Name
|
Owner
|
systemfunctions.isvalid |
systemfunctions
|