of_setalwaysontop


pfcutil.pbl   >   pfc_n_cst_sqlspy   >   of_setalwaysontop   

Full name pfc_n_cst_sqlspy.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 SQLSpy window always on top.
//					False not to have SQlSpy window always on top.
//
//	Returns:  	integer
//					1 if it succeeds and -1 if an error occurs.
//
//	Description:	Allow the SQLSpy 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(iw_sqlspy) Then
	 iw_sqlspy.of_SetAlwaysOnTop (ib_alwaysontop)
End If

Return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_w_sqlspy.of_SetAlwaysOnTop pfc_w_sqlspy

     
Full name
No Data

     
Name Scope
No Data