|
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(string,integer,integer,integer,integer)
|
Name
|
Datatype
|
lb_scale
|
boolean
|
public function integer of_register (string as_control, integer ai_movex, integer ai_movey, integer ai_scalewidth, integer ai_scaleheight);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Register
//
// Access: public
//
// Arguments:
// as_control The object being registered.
// ai_movex The percentage to move the object along the x axis.
// ai_movey The percentage to move the object along the y axis.
// ai_scalewidth The percentage to scale the object along the x axis.
// ai_scaleheight The percentage to scale the object along the y axis.
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
boolean lb_scale=False
Return of_Register (as_control, lb_scale, ai_movex, ai_movey, &
ai_scalewidth, ai_scaleheight)
end function