|
|
|
|
|
SftPrintPreview.CloseWanted Event |
The Close button is clicked.
Syntax
|
VB.NET |
Private Sub object_CloseWanted(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.CloseWanted |
||
|
VB |
Private Sub object_CloseWanted() |
||
|
C#.NET |
void object_CloseWanted(object sender, EventArgumentType e); |
||
|
VC++ |
void OnCloseWantedobject(); |
||
|
C |
HRESULT OnCloseWantedobject(); |
||
|
Delphi |
procedure objectCloseWanted(Sender: TObject); |
object
A SftPrintPreview object.
Comments
The CloseWanted event occurs when the Close button is clicked.
The user can close the Print Preview control window using the Escape key or by clicking the Close button on the built-in tool bar.
The WantCloseButton property is used to defines whether the Close button is visible on the tool bar.