Cadcorp SIS API Methods

SwdClose Method

Description

Close all of the windows of the current SIS Workspace Definition (SWD), using the chosen savecode.

Syntax

Visual Basic
Public Function SwdClose( _
   ByVal savecode As String _
) As Integer

Parameters

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

Remarks

Available: MM ME MD

Groups:

Example

sis.SwdClose(SIS_SAVE)

Save the SWD if it has been modified.


Send comments on this topic.

Click to return to www.cadcorp.com

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