hook_<libraryPrefix>_faceplateHeadline()
This function specifies the text for the header of a faceplate.
Synopsis
langString hook_<libraryPrefix>_faceplateHeadline(string
sDp);
Parameters
Parameter | Description |
---|---|
sDp | Data point name to which the symbol references. |
Return Value
Header text of a faceplate.
Description
This function specifies the text for the header of a faceplate. By default the description of the data point is used as a text for the header.
You can find the function in the stdlib_hook_project.ctl under wincc_oa_path/Stdlib_3.20/scripts/libs/
langString hook_faceplateHeadline(string sDp)
{
langString lsHeadline = hook_getFaceplateHeadline(sDp);
if ( lsHeadline == "" ) lsHeadline = dpGetDescription(sDp);
return lsHeadline;
}