of_setparent


pfcmain.pbl   >   pfc_m_edit   >   of_setparent   

Full name pfc_m_edit.of_setparent
Access public
Extend of integer
Return value integer
Prototype public function integer of_setparent(dragobject)

Name Datatype
No Data

Name Datatype
li_rc integer

public function integer of_setparent (dragobject adrg_parent);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetParent
//
//	Access:  public
//
//	Arguments:
//	adrg_parent   parent object of the menu
//
//	Returns:  integer
//	 1 = success
//	-1 = failure, parent reference is not valid
//
//	Description:  Sets the parent object of this 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 = 1

if IsValid (adrg_parent) then
	idrg_parent = adrg_parent
else
	li_rc = -1
end if

return li_rc
end function

     
Name Owner
pfc_u_ddlb.rbuttonup pfc_u_ddlb
pfc_u_ddplb.rbuttonup pfc_u_ddplb
pfc_u_em.rbuttonup pfc_u_em
pfc_u_mle.rbuttonup pfc_u_mle
pfc_u_rte.rbuttonup pfc_u_rte
pfc_u_sle.rbuttonup pfc_u_sle

     
Name Owner
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data