ContextKeyword object

The ContextKeyword object provides environment information for the current context. In the default environment, the ContextKeyword object provides host workstation environment variables. When running within the window plug-in, the ContextKeyword object allows you to access parameters specified in the plug-in’s EMBED element.

Properties

ContextKeyword property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

Handle

Long

Internal use only.

Events

ContextKeyword event

Occurs

Constructor

Immediately before the Open event occurs in the window.

Destructor

Immediately after the Close event occurs in the window.

Functions

ContextKeyword function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetContextKeywords

Integer

Retrieves one or more values associated with a specified keyword.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

PostEvent

Boolean

Adds an event to the end of the message queue for the object.

TriggerEvent

Integer

Triggers a specific event in the object and executes the script for the event.

TypeOf

Object

Returns the type of the object.