of_getregisterable


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_resize   >   of_getregisterable   

Full name pfc_n_cst_dwsrv_resize.of_getregisterable
Access public
Extend of integer
Return value integer
Prototype public function integer of_getregisterable(ref string[])

Name Datatype
No Data

Name Datatype
li_numobjs integer
ls_empty string[]
ls_objects string[]

public function integer of_getregisterable (ref string as_objects[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_GetRegisterable
//
//	Access:    		Public
//
//	Arguments:
//   as_objects[] (by ref)	 Will hold all the objects that can be registered.
//
//	Returns:   		Integer
// Number of entries in array.
//	-1 if an error occurs.
//
//	Description:  
//	To get the list of all the objects that can be registered.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

integer	li_numobjs
string	ls_objects[]
string	ls_empty[]

// Clear the reference variable.
as_objects = ls_empty

// Get all the Visible objects on the datawindow.
// Objects that are not visible do not Coordinates and therefore cannot be registered.
li_numobjs = of_GetObjects ( ls_objects, "*", "*", TRUE ) 
If li_numobjs < 0 Then Return -1

// Return the objects.
as_objects = ls_objects
Return UpperBound(as_objects)



end function

     
Name Owner
pfc_u_tabpg_dwproperty_srvresize.pfc_propertypopulate pfc_u_tabpg_dwproperty_srvresize

     
Name Owner
systemfunctions.upperbound systemfunctions
pfc_n_cst_dwsrv.of_getobjects pfc_n_cst_dwsrv

     
Full name
No Data

     
Name Scope
No Data