|
Previous Top Next |
Prototype: | (BYTE pHide) |
pHide | Indicates if the control(s) should be hidden or unhidden. |
This method is used inside the class to hide and unhide the progress control and any controls that have been added to the DisplayControl property queue using the AddDisplayControl method. Note that the Init and Kill methods hide and unhide the controls automatically.
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
...
ITP.HideCOntrols(True) !! ... and unhide all handled controls while the progress is running
See also:
Init
Kill
DisplayControls
AddDisplayControl