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

Progress Class:  Kill

Previous  Top  Next  


Prototype: (none)

 

This method terminates the progress class.  It calls the HideControls method to hide controls that should be hidden and then disposes of the DisplayControl queue property.  You call this method at the end of the progress process.

 

Example:

ITP  ITProgressClass

Q1   Queue

F1     Long

     End

Q2   Queue

F2     Byte

     End

I    Long

 Code

 !! Queues are filled here.

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

 ITP.AddToCurrentValue(Records(Q2))     !! Add the number of records from Q2

 Loop I = 1 To Records(Q1)

   Get(Q1,I)

   !! Do something

   ITP.Update

 End

 

 Loop I = 1 To Records(Q2)

   Get(Q2,I)

   !! Do something

   ITP.Update

 End

 ITP.Kill

 

 

See also:

Init
HideControls
DisplayControl
 

 

 

 



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