of_settoolbaritemorder


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_preference   >   of_settoolbaritemorder   

Full name pfc_n_cst_winsrv_preference.of_settoolbaritemorder
Access public
Extend of integer
Return value integer
Prototype public function integer of_settoolbaritemorder(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_settoolbaritemorder (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetToolbarItemOrder
//
//	Access:  		public
//
//	Arguments:
//	ab_switch	   Mode of the service.
//
//	Returns:  		integer
//						Returns 1 if it succeeds and -1 if an error occurs.
//						
//	Description:  	Tells the service to restore or not to restore
//						the ToolbarItemOrder attribute on the menu items.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////

If IsNull(ab_switch) Then
	Return -1
End If

ib_toolbaritemorder = ab_switch
Return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data