of_barreset


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_statusbar   >   of_barreset   

Full name pfc_n_cst_winsrv_statusbar.of_barreset
Access public
Extend of integer
Return value integer
Prototype public function integer of_barreset()

Name Datatype
No Data

Name Datatype
li_rc Integer

public function integer of_barreset ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_BarReset
//
//	Access:  	Public
//
//	Arguments:	None
//	
//	Returns:		Integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Turns the visible components of the progress bar off.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1999 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.
//
//////////////////////////////////////////////////////////////////////////////
Integer	li_rc
	
// turn off the progress bar
li_rc = of_Modify('pfc_progress.visible="0"')
if li_rc < 0 then return -1
li_rc = of_Modify("pfc_progress_border.expression=~"' '~" ")
if li_rc < 0 then return -1

// reset the position of the progress bar
ii_barposition = ii_barmin
ii_barpctcomplete = 0

return li_rc
end function

     
Name Owner
pfc_n_cst_winsrv_statusbar.of_setbarposition pfc_n_cst_winsrv_statusbar

     
Name Owner
pfc_n_cst_winsrv_statusbar.of_modify pfc_n_cst_winsrv_statusbar

     
Full name
No Data

     
Name Scope
No Data