of_setalwaysontop


pfcutil.pbl   >   pfc_w_debuglog   >   of_setalwaysontop   

Full name pfc_w_debuglog.of_setalwaysontop
Access public
Override of integer
Return value integer
Prototype public function integer of_setalwaysontop(boolean)

Name Datatype
ab_switch boolean

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 be on top.
//					False not to have DebugLog window always be 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

If ab_switch Then
	this.SetPosition (TopMost!)
Else
	this.SetPosition (NoTopMost!)		
End If

Return 1

end function

     
Name Owner
pfc_n_cst_debug.of_setalwaysontop pfc_n_cst_debug
pfc_w_debuglog.pfc_preopen pfc_w_debuglog

     
Name Owner
window.setposition window
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data