pfc_insertobject


pfcmain.pbl   >   pfc_u_oc   >   pfc_insertobject   

Full name pfc_u_oc.pfc_insertobject
Access public
Extend of integer
Return value integer
Prototype event integer pfc_insertobject()

Name Datatype
No Data

Name Datatype
li_rc integer

event pfc_insertobject;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  pfc_insertobject
//
//	Arguments:  none
//
//	Returns:  integer
//	 0 = success
//	 1 = User canceled out of dialog
//	-9 = Other error
//
//	Description:  Inserts an object into the ole control
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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

li_rc = this.InsertObject()
if li_rc = 0 then
	this.Activate (inplace!)
end if

return li_rc
end event

     
Name Owner
No Data

     
Name Owner
omembeddedcontrol.activate omembeddedcontrol
omembeddedcontrol.insertobject omembeddedcontrol

     
Full name
No Data

     
Name Scope
No Data