ComponentOne VSView 8.0
AbortWindow Property

Returns or sets whether an Abort dialog will appear while the control is printing.

Syntax

[form!]VSPrinter.AbortWindow[ = {True | False} ]

Remarks

The automatic Abort dialog appears while output is being sent to the printer, and allows the user to abort the print job.

The dialog shows the name of the document being printed (from the DocName property), the output device (from the Device property), port (from the Port property), and the current page. If the user presses the Cancel button, printing stops and an Error event is fired.

You may modify the text in the automatic Abort dialog by setting the contents of the AbortCaption, DocName, AbortTextPage, AbortTextDevice, and AbortTextButton properties. These properties are especially useful if you are writing applications in a language other than English.

Set this property to False if you do not want the automatic Abort dialog to be displayed. This may be desirable for server applications, for printing small jobs, or if you want to display a custom Abort dialog.

The following image shows the layout of the automatic Abort dialog and the default captions for each element on it.

 

Data Type

Boolean

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback