of_setalwaysontop


pfcutil.pbl   >   pfc_n_cst_debug   >   of_setalwaysontop   

Full name pfc_n_cst_debug.of_setalwaysontop
Access public
Extend of integer
Return value integer
Prototype public function integer of_setalwaysontop(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setalwaysontop (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetAlwaysOnTop
//
//	Access:  		public
//
//	ab_switch	True to have DebugLog window always on top.
//					False not to have DebugLog window always on top.
//
//	Returns:  	integer
//					1 if it succeeds and -1 if an error occurs.
//
//
//	Description:	Allow the DebugLog window to always be on top when TRUE.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0.02   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 arguments
If IsNull(ab_switch) Then
	Return -1
End If

ib_alwaysontop = ab_switch

If IsValid(w_debuglog) Then
	w_debuglog.of_SetAlwaysOnTop (ib_alwaysontop)
End If

Return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_w_debuglog.of_setalwaysontop pfc_w_debuglog

     
Full name
w_debuglog

     
Name Scope
No Data