Cadcorp SIS API Methods

DoCommand Method

Description

Executes a command.

Syntax

Visual Basic
Public Function DoCommand( _
   ByVal comname As String _
) As Integer

Parameters

comname
The command to execute.

Remarks

This method will execute a CallCommand (if the command is a "one-shot") or a SwitchCommand (if the command is a "callback") when used via GisLink. In the SIS Control, the command will be executed immediately.

Available: MM ME MD OD OM OU OV

Groups:

Example

sis.DoCommand ("AComShowProgramWindow" )

Displays the Program Window. This is useful during the development of an application.


Send comments on this topic.

Click to return to www.cadcorp.com

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