The graph must be placed in the picture, where the parameter refId is the reference variable of the graph. The parameter index defines the serial number of the graphic flow (numbering from 1).
Example
The example contains the description of the graph (defined by the reference variable _graph) that displays the graphic flow of the object "Sec" before and after execution of the procedure btn_OnClick, where btn is the reference variable of the Windows control of Button type.
Before the procedure execution:
After the procedure execution:
Procedure:
ENTRY btn_OnClick
%HI_SetGraphInfo(_graph, 1, "Description")
END btn_OnClick
Pridať komentár