Cadcorp SIS API Methods

EnableOverlayTheme Method

Description

Enables or disables an overlay theme.

Syntax

Visual Basic
Public Function EnableOverlayTheme( _
   ByVal pos As Integer, _
   ByVal nTheme As Integer, _
   ByVal bEnable As Integer _
) As Integer

Parameters

pos
The position of the overlay in the overlays list on which the theme is to be enabled.
 
nTheme
The position of the theme in the overlay's theme list which is to be enabled. Theme indices run from zero to one less than the number of themes.
 
bEnable
True    Enable the theme.
False    Disable the theme.

Remarks

Available: GEO MM ME MD OD OM OV SISpy

Group:

Example

sis.EnableOverlayTheme (1, 0, True)

Enables theme 0 of overlay 1.


Send comments on this topic.

Click to return to www.cadcorp.com

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