CloseDisplay()
|
Previous Top Next |
:CloseDisplay() --> .T. (TRUE)
|
None.
|
This method always returns .T. (TRUE)!
|
This method sets the Display object instance variable to NIL and therefore disables progress updates.
|
Create a new XbpMLE object and a new XbZLibZip object, and specify the XbpMLE object as the Display object of the XbZLibZip object. Then open an existing Zip File named "MyArchive.zip" in Test mode, which will enable the display of the complete test and its result in the MLE. Then disable further output to the MLE object and Extract All files to the current directory (without further progress updates), and then close the Zip File:
|
oXbp := XbpMLE():New():Create(oDraw, , aPos, aSize)
|
oZip := XbZLibZip():New()
|
oZip:SetDisplayObject(oXbp)
|
oZip:Open('MyArchive.zip', XBZ_OPEN_TEST)
|
oZip:CloseDisplay()
|
oZip:ExtractAll()
|
oZip:Close()
|