of_updatehistory


pfcutil.pbl   >   pfc_w_sqlspy   >   of_updatehistory   

Full name pfc_w_sqlspy.of_updatehistory
Access public
Override of integer
Return value integer
Prototype public function integer of_updatehistory()

Name Datatype
No Data

Name Datatype
No Data

public function integer of_updatehistory ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_updatehistory
//
//	Access:  		public
//
//	Arguments:		
//
//	Returns:  		integer
//						Returns 1 if it succeeds and -1 if an error occurs.
//						
//	Description:  	Determine what the current history should be and set it 
//						visually on this window.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

//Prevent flickering
mle_history.SetRedraw(False)

//Get the current History from the SQLspy service.
mle_history.text = gnv_app.inv_debug.inv_sqlspy.of_GetHistory()

//Scroll to the bottom
mle_history.Scroll (999999) 

mle_history.SetRedraw(True)

Return 1

end function

     
Name Owner
pfc_n_cst_sqlspy.of_addtohistory pfc_n_cst_sqlspy
pfc_n_cst_sqlspy.of_clearhistory pfc_n_cst_sqlspy
pfc_w_sqlspy.pfc_preopen pfc_w_sqlspy

     
Name Owner
dragobject.setredraw dragobject
multilineedit.scroll multilineedit
pfc_n_cst_sqlspy.of_GetHistory pfc_n_cst_sqlspy

     
Full name
pfc_w_sqlspy
demopfc

     
Name Scope
No Data