www.icetips.com  Icetips Utilities Documentation 1/14/2012    

Progress Class:  GetCurrentValue

Previous  Top  Next  


Prototype: (),LONG

 

ReturnsReturns the integer for the current value of the progress.

 

This method returns the value of the TotalValue property which is the destination counter to be reached at the end of the process.

 

Example:

ITP  ITProgressClass

Q1   Queue

F1     Long

     End

I    Long

 Code

 !! Queue is filled here.

 

 ITP.Init(?Progress1,Records(Q1),True)  !! Initialize with the number of records from Q1

 Loc:Var = ITP.GetCurrentValue()

 Display(?Loc:Var)

 Loop I = 1 To Records(Q1)

   Get(Q1,I)

   !! Do something

   ITP.Update

 End

 

 ITP.Kill

 

 

See also:

TotalValue
SetCurrentValue
GetCurrentPercent

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/getcurrentvalue_progress.htm