|
of_register
|
|
Full name
|
pfc_n_cst_winsrv_statusbar.of_register
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_register(string,string,string,integer,integer)
|
public function integer of_register (string as_id, string as_type, string as_value, integer ai_width, integer ai_bordertype);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Register
//
// Access: Public
//
// Arguments:
// as_id The ID of the User Defined object to be Registered.
// as_type The type of object.
// Valid values are 'text' and 'bitmap'.
// as_value The initial value of the object.
// ai_width The desired width of the object.
// ai_bordertype The border type to use around the object.
//
// Returns: integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description:
// Registers a new object to be displayed on the GUI Status Bar.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.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.
//
//////////////////////////////////////////////////////////////////////////////
// Register using the current default values for GapWidth.
Return of_Register(as_id, as_type, as_value, ai_width, ai_bordertype, ii_gapwidth)
end function