|
of_updatehistory
|
|
Full name
|
pfc_w_sqlspy.of_updatehistory
|
Access
|
public
|
Override of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_updatehistory()
|
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