hook_<libraryPrefix>_objectTooltip()

This function determines the tool tip text of a symbol.

Synopsis

langString hook_<libraryPrefix>_objectTooltip(string sDp);

Parameter

Parameter Description
sDp Data point name

Return Value

Tool tip text.

Description

This function determines the tool tip text of a symbol. By default, the description of the data point is used for the tool tip text.

You can find the function in the stdlib_hook_project.ctl under wincc_oa_path/Stdlib_3.19/scripts/libs/

langString hook_objectTooltip(string dp)
{
  return dpGetDescription(dp);
}