of_copyto


pfcmain.pbl   >   pfc_n_msg   >   of_copyto   

Full name pfc_n_msg.of_copyto
Access public
Extend of integer
Return value integer
Prototype public function integer of_copyto(n_msg)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_copyto (n_msg am_target);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_CopyTo
//
//	Access:  public
//
//	Arguments:		
//	am_target  target message object passed by reference.
//
//	Returns:  Integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Copy the contents of this object to the message object passed in.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0.01   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.
//
//////////////////////////////////////////////////////////////////////////////

// Check arguments
if IsNull(am_target) Or not IsValid (am_target) then
	return -1
end if

// Copy the system transaction values
am_target.Handle = this.Handle
am_target.Number = this.Number
am_target.WordParm = this.WordParm
am_target.LongParm = this.LongParm
am_target.DoubleParm = this.DoubleParm
am_target.StringParm = this.StringParm
am_target.PowerObjectParm = this.PowerObjectParm
am_target.Processed	 = this.Processed	
am_target.ReturnValue	 = this.ReturnValue	

// Copy the pfc transaction properties
am_target.of_SetPowerObjectParm (ipo_parm)
am_target.of_SetStringParm (is_parm)
am_target.of_SetDoubleParm (idbl_parm)

return 1
end function

     
Name Owner
pfc_u_dw.of_SetDropDownCalendar pfc_u_dw
pfc_u_dw.of_SetDropDownCalculator pfc_u_dw
pfc_u_em.of_setdropdowncalendar pfc_u_em
pfc_u_em.of_setdropdowncalculator pfc_u_em

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_msg.of_SetPowerObjectParm pfc_n_msg
pfc_n_msg.of_setstringparm pfc_n_msg
pfc_n_msg.of_SetDoubleParm pfc_n_msg

     
Full name
No Data

     
Name Scope
No Data