|
of_reset
|
|
Full name
|
pfc_u_progressbar.of_reset
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_reset()
|
public function integer of_reset ();//////////////////////////////////////////////////////////////////////////////
//
// Function: of_reset
//
// Access: public
//
// Arguments: None
//
// Returns: Integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Reset the progress bar.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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.
//
//////////////////////////////////////////////////////////////////////////////
dw_progress.setredraw(false)
// turn the visible properties of the progress bar off
dw_progress.object.progress_rect.visible = 0
dw_progress.object.pct.visible = 0
dw_progress.setredraw(true)
// reset the position of the progress bar
ii_position = ii_minimum
ii_percentcomplete = 0
dw_progress.object.pct[1] = ""
return 1
end function
Name
|
Owner
|
dragobject.setredraw |
dragobject
|