User Tools

Site Tools


kill_shut_down_the_printpreviewclass_object_.htm
Navigation:  ABC Library Reference > PrintPreviewClass > PrintPreviewClass Methods >====== Kill (shut down the PrintPreviewClass object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Kill, VIRTUAL, PROC

blk2blue.jpg

The Kill method frees any memory allocated during the life of the object and performs any other required termination code.Kill returns a value to indicate the status of the shut down.

Implementation:

The Kill method calls the WindowManager.Kill method and returns Level:Benign to indicate a normal shut down. Return value EQUATEs are declared in ABERROR.INC.

Return Data Type:     BYTE

Example:

PrintPreviewQueue  PreviewQueue          !declare report image queue

PrtPrev       PrintPreviewClass          !declare PrtPrev object

CODE

PrtPrev.Init(PrintPreviewQueue)         !initialize PrtPrev object

!program code

PrtPrev.Kill                            !shut down PrtPrev object

See Also:     WindowManager.Kill

kill_shut_down_the_printpreviewclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1