of_SetBeep


pfcapsrv.pbl   >   pfc_n_cst_error   >   of_SetBeep   

Full name pfc_n_cst_error.of_SetBeep
Access public
Extend of integer
Return value integer
Prototype public function integer of_SetBeep(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_SetBeep (boolean ab_beep);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetBeep
//
//	Access:    		Public
//
//	Arguments:
//   ab_beep 		A value that determines if a beep should occurr prior
//						to showing the pfc Message window.
//
//	Returns:   		Integer
//   					1 if successful, otherwise -1.
//
//	Description:  	Sets the value that determines if a beep should occurr prior
//						to showing the pfc Message window.
//			*Note:	This has no effect if the service is using Powerbuilder's
//						messagebox instead.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Check to see if the passed style number is valid.
IF IsNull(ab_beep) THEN 
	Return -1
End If

ib_beep = ab_beep
Return 1
end function

     
Name Owner
n_cst_demopfc.pfc_open n_cst_demopfc

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data