The ContextInformation object provides information about an application's execution context, including current version information. Using this information, you can modify display characteristics and application behavior.
ContextInformation 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 |
ContextInformation event |
Occurs |
---|---|
Immediately before the Open event occurs in the window |
|
Immediately after the Close event occurs in the window |
ContextInformation function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the object. |
|
Integer |
Returns the company name for the current execution context. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
Integer |
Returns the fix level for the current PowerBuilder execution context. |
|
Integer |
Provides a reference to the context's host object. |
|
Integer |
Returns the major version for the current PowerBuilder execution context. |
|
Integer |
Returns the minor version for the current PowerBuilder execution context. |
|
Integer |
Returns the name for the current execution context. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Integer |
Returns the short name for the current PowerBuilder execution context. |
|
Integer |
Returns complete version information for the current PowerBuilder execution context. |
|
Boolean |
Adds an event to the end of the message queue for the object. |
|
Integer |
Triggers a specific event in the object and executes the script for the event. |
|
Object |
Returns the type of the object. |