Cadcorp SIS API Methods

SwtClose Method

Description

Close all of the windows of the current SIS Workspace Template (SWT).

Syntax

Visual Basic
Public Function SwtClose( _
   ByVal savecode As Integer _
) As Integer

Parameters

savecode
SIS_NOSAVE (0)   Do not save the SWT.
SIS_SAVE (1)   Save the SWT if it has been modified.
SIS_PROMPTSAVE (2) Prompt the user to save if the SWT has been modified.

Remarks

Available: MM ME MD

Groups:

Example

sis.SwtClose(SIS_PROMPTSAVE)

Prompt the user to save if the SWT has been modified.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).