of_register


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_resize   >   of_register   

Full name pfc_n_cst_dwsrv_resize.of_register
Access public
Extend of integer
Return value integer
Prototype public function integer of_register(dwobject,string)

Name Datatype
No Data

Name Datatype
ls_objname string

public function integer of_register (dwobject adwo_control, string as_method);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_Register
//
//	Access:  		public
//
//	Arguments:		
//	as_control		The object being registered.
//	as_method		The desired resize/move method.
//
//	Returns:  		integer
//						1 if it succeeds and -1 if an error occurs.
//
//	Description:  	Register a control which needs to either be moved or resized
//						when the parent object is resized. 
//
//////////////////////////////////////////////////////////////////////////////
//
//	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

//Check parameters
If IsNull(adwo_control) Then
	Return -1
End If

ls_objname = adwo_control.Name
Return of_Register(ls_objname, as_method)
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
pfc_n_cst_dwsrv_resize.of_register pfc_n_cst_dwsrv_resize

     
Full name
No Data

     
Name Scope
No Data