|
of_getregistered
|
|
Full name
|
pfc_n_cst_dwsrv_resize.of_getregistered
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getregistered(dwobject,ref boolean,ref integer,ref integer,ref integer,ref integer)
|
Name
|
Datatype
|
ls_control
|
string
|
public function integer of_getregistered (dwobject adwo_control, ref boolean ab_scale, ref integer ai_movex, ref integer ai_movey, ref integer ai_scalewidth, ref integer ai_scaleheight);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetRegistered
//
// Access: public
//
// Arguments:
// adwo_control The registered object.
// ab_scale (by ref) The scale switch.
// ai_movex (by ref) The percentage to move the object along the x axis.
// ai_movey (by ref) The percentage to move the object along the y axis.
// ai_scalewidth (by ref) The percentage to scale the object along the x axis.
// ai_scaleheight (by ref) The percentage to scale the object along the y axis.
//
// Returns: integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description:
// Get the registered information for the passed in object.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_control
// Initilize reference variables.
ab_scale = False
ai_movex = 0
ai_movey = 0
ai_scalewidth = 0
ai_scaleheight = 0
//Check parameters
If IsNull(adwo_control) Then
Return -1
End If
ls_control = adwo_control.Name
Return of_GetRegistered(ls_control, ab_scale, &
ai_movex, ai_movey, ai_scalewidth, ai_scaleheight)
end function