std_miniHelp()

Calls a panel with the corresponding help.

Synopsis

void std_miniHelp(string filename, string type, string panel);

Parameters

Parameter Description
filename Name of a text file or HTML page that is to be displayed in the panel
type Either "help" for a text file, a WinCC OA help file or "url" for a Web or HTML page
panel Name of the panel as displayed in the title of the window

Return value

None

Errors

Incorrect names or path information result in error messages.

Description

The function searches for the file "name" in the directory .../help /<LANG>/... and displays it in the panel "miniHelp.pnl" as a new module. In the case of a "URL", the path (for example, www.etm.at) must be specified as the file name!

Under Linux the type may only be "help" as there is no display module for HTML contents. Under Linux, a selection list is used for displaying the contents, i.e. only unformatted texts can be displayed.

Example

main()
                {
                std_miniHelp("miniHelp.txt", "help", "WinCC_OA");
                } // Opens "miniHelp.txt" in the module "WinCC_OA"
            

Example

The help pages in WinCC OA are HTML pages. They are only displayed correctly under VISION.

main()
                {
                std_miniHelp("WebHelp/Ado/ADO.htm", "help", "WinCC_OA_ADO")
                } // Opens "ADO.htm" in the module "WinCC_OA_ADO"

Assignment

Miscellaneous functions

Availability

CTRL