Table Of Contents

Graph IDEProgramming ► Layer

The following is a complete script for programming a Layer graphic. It enables the layer's event qualifier. If an event qualifier is not enabled in this fashion then normal event processing occurs which is probably not the desired result so make sure to enable event qualifiers in all layers of the document.

@@class() Layer:Object

@@method(public, class) (id)stored;
@@method(public, instance) (void)enableEventQualifier;

@@end

{
id myLayer;
id myEventQualifier;

myLayer = [Layer stored];

[myLayer enableEventQualifier];
}
}

The general API is define in the section Graphic. The following is API description specific to the Layer graphic.

@@method(public, instance) (void)enableEventQualifier;
  Call like this:

[myLayer enableEventQualifier];

Enables the layer's event qualifier.

@@method(public, instance) (void)disableEventQualifier;
  Call like this:

[myLayer disableEventQualifier];

Disables the layer's event qualifier.




© Copyright 1993-2019 by VVimaging, Inc. (VVI); All Rights Reserved. Please email support@vvi.com with any comments you have concerning this documentation. See Legal for trademark and legal information.