%HI_SetGraphButtons function


Functions
The function %HI_SetGraphButtons sets the features of the user-defined buttons placed left to the description of the graphic flows in the displayer of Graph or XY Graph types (Control function).
Declaration
%HI_SetGraphButtons(
   INT in refId, 
   INT in index, 
   INT in visible, 
   INT in enable
 ) 

Parameters
refId Reference to displayer (reference variable).
index Serial number of the graphic flow. Possible values:
  • -1 - all buttons
  • 0 - button at the table header
  • 1 to n - button for particular graphic flow
visible Button visibility. Possible values:
  • 0 - no change
  • 1 - show
  • 2 - hide
enable Enable / disable the button. Possible values:
  • 0 - no change
  • 1 - enable the button
  • 2 - disable the button

Description
The function allows to show / hide and enable / disable the buttons placed left to the descriptions of graphic flows in the displayer of Graph or XY Graph types. If the button is enabled, clicking the button will generate the picture event OnGraphBtnClick.
 
Show and enable the button for all graphic flows:
 
%HI_SetGraphButtons(_Graph,-1,1,1)

Example
In the displayer, there will be displayed the following button beside all graphic flows:

1 - user button


Napíšte komentár