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

Progress Class:  AddDisplayControl

Previous  Top  Next  


Prototype: (LONG pControLToDisplay,Byte pUpdateOnShow=1)

 

pControLToDisplayFEQ of a control to display
pUpdateOnShowIndicates if the control should be updated using DISPLAY() when ShowProgress is called.

 

The Progress Class can display multiple controls that are then updated when the progress is updated.  The controls added are unhidden when the progress is initialized and hidden again if the HideUnhide property is TRUE.

 

Example:

 

ITP  ITProgressClass

 Code

 Open(MyFile)

 Set(MYF:MyKey)

 ITP.Init(?Progress1,Records(MYF:MyKey),True) !! Initialize and tell it to handle more controls...

 ITP.AddDisplayControl(?CancelButton,False)   !! ... and add the ?CancelButton...

 ITP.HideControls(False)                      !! ... and unhide all handled controls while the progress is running

 

See also:

HideUnhide
HideControls

 

 

 

 



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