IntelliCAD 11.1 Object Library
Quit Method
See Also 
Application Object : Quit Method

Description

Closes the drawing file and exits the application.

Syntax

Visual Basic
Public Sub Quit() 

Example

This example demonstrates how to use the Quit method to close the drawing and exit IntelliCAD.

Private Sub QuitExample()

     Msg = "Really want to quit?"

Title = "Quit Method Example"

Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons.

Response = MsgBox(Msg, Style, Title)

If Response = vbYes Then     ' User chose Yes.

     Application.Quit

End If

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.