Passa al contenuto principale

ReturnProjectContext

Structure

ReturnsProjectContext : String

Type

Function

Description

Use this function to return the current project context for the project being executed. A project context is set from text in the hyperlink within the layout that launches the project. This context is given as text in the hyperlink after a semicolon, following the name of the project to be launched. An example would be a hyperlink in an equipment layout that launches the "DIAL" project with a context of "DISTANCE", like:

EQUIPPROJECT=DIAL;DISTANCE

Parameters: none

Return

Returns text value of project context, if any

Example:

if ReturnProjectContext = "DISTANCE" then

ShowMessage("Doing code here related only to distance-related hyperlinks")

End If |