%HI_GetColumnWidth, %HI_SetColumnWidth functions


Function

The function %HI_SetColumnWidth sets the width of the specified column in the displayer of the Browser or Logging type.

The function %HI_GetColumnWidth returns the width of the specified column in the displayer of the Browser or Logging type (control function).
Declaration
%HI_SetColumnWidth(
   INT in refId, 
   INT in index, 
   INT in width
 )
 
 INT %HI_GetColumnWidth(
   INT in refId, 
   INT in index
 )
Parameters
refIdReference to a displayer (reference variable).
indexSerial number of column.
widthColumn width. The parameter can contain optional values.
The values of 0 and -1 set the column width as follows on condition that the index=0:
  • 0 - sets the column width by the texts in the column as well as the column header (it holds for all the columns)
  • -1 - sets the column width by the texts in the column, text in the column header is ignored (it holds for all the columns)
Description
In Browser, the columns are configured in the D2000 CNF, but in Logging, the sequence of columns is following:

Sequential numbers of Logging column:

  1. Name
  2. Description
  3. Event_rising_time
  4. User
  5. Old_value
  6. New_value
  7. Priority
  8. Incident
  9. Log_type

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .