|
of_updatedwtimerinterval
|
|
Full name
|
pfc_w_statusbar.of_updatedwtimerinterval
|
Access
|
public
|
Override of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_updatedwtimerinterval(long)
|
Name
|
Datatype
|
ai_milliseconds
|
long
|
Name
|
Datatype
|
ls_modifyexp
|
string
|
ls_rc
|
string
|
public function integer of_updatedwtimerinterval (long ai_milliseconds);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_UpdateDWTimerInterval
//
// Access: Public
//
// Arguments:
// ai_milliseconds The new Timer interval in milliseconds.
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description:
// Refreshes the Pre-Defined Datawindow Timer Interval.
// This is used for the Timer Pre-Defined object only.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
string ls_modifyexp
string ls_rc
// Create and Execute the Modify statment.
ls_modifyexp = "DataWindow.Timer_Interval='"+String(ai_milliseconds)+"'"
ls_rc = dw_statusbar.Modify (ls_modifyexp)
If Len(ls_rc) > 0 Then
Return -1
End If
Return 1
end function
Name
|
Owner
|
datawindow.modify |
datawindow
|
systemfunctions.len |
systemfunctions
|
systemfunctions.string |
systemfunctions
|