of_setbordertype


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_statusbar   >   of_setbordertype   

Full name pfc_n_cst_winsrv_statusbar.of_setbordertype
Access public
Extend of integer
Return value integer
Prototype public function integer of_setbordertype(integer)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setbordertype (integer ai_bordertype);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetBorderType
//
//	Access:  Public
//
//	Arguments:
//	ai_bordertype	The new default border type.
//	
//	Returns:  integer
//	1 if it succeeds and -1 if an error occurs.
//
//	Description:
//	Set the default border type for any *future* object.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Check argument.
If IsNull(ai_bordertype) or ai_bordertype <0 or ai_bordertype >6 Then
	Return -1
End If

//	Set the default border type for any *future* object.
ii_bordertype = ai_bordertype
Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data